Changeset 118 for waeup_product


Ignore:
Timestamp:
28 Oct 2005, 11:48:10 (19 years ago)
Author:
joachim
Message:

=added missing files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/book_accommodation.py

    r114 r118  
    4040    for hall in halls:
    4141        h = hall.getContent()
    42         ba = getattr(h,'beds_assigned',0)
     42        ba = int(getattr(h,'beds_assigned',0))
    4343        bal = getattr(h,'beds_assigned_list',[])
    4444        nr_of_beds = int(h.nr_of_blocks) * int(h.nr_of_floors) * int(h.rooms_per_floor) * int(h.beds_per_room)
Note: See TracChangeset for help on using the changeset viewer.