Changeset 9560 for main/waeup.futminna


Ignore:
Timestamp:
6 Nov 2012, 11:52:05 (12 years ago)
Author:
Henrik Bettermann
Message:

Bed reservation might be cancelled.

File:
1 edited

Legend:

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

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