Ignore:
Timestamp:
3 Mar 2011, 13:53:34 (14 years ago)
Author:
Henrik Bettermann
Message:

Fix traceback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/book_accommodation.py

    r5616 r5791  
    7070                                 )
    7171elif psm == 'valid':
    72     pin = str(ds.get('acco_res_sc_pin'))
    7372    code,bed = context.portal_accommodation.searchAndReserveBed(student_id,
    7473                                                                "%s" % (info['student_status']),
     
    9594hall_info = context.waeup_tool.getHallInfo(bed)
    9695data={}
    97 data['acco_res_sc_pin'] = ds['acco_res_sc_pin']
     96data['acco_res_sc_pin'] = str(ds.get('acco_res_sc_pin',''))
    9897data['acco_maint_code'] = hall_info.get('maintenance_code')
    9998data['acco_maint_fee'] = hall_info.get('maintenance_fee')
Note: See TracChangeset for help on using the changeset viewer.