Changeset 9575 for main/waeup.futminna


Ignore:
Timestamp:
8 Nov 2012, 15:14:00 (12 years ago)
Author:
Henrik Bettermann
Message:

Remove bug. It seems that I have not even run the tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py

    r9560 r9575  
    121121            current_session = student['studycourse'].current_session
    122122            bedticket = student['accommodation'].get(str(current_session), None)
    123             if bedticket and bedticket.bed:
     123            if bedticket is not None and bedticket.bed is not None:
    124124                p_item = bedticket.bed_coordinates
    125125            else:
Note: See TracChangeset for help on using the changeset viewer.