Changeset 13426 for main/waeup.kofa/trunk/src/waeup/kofa/hostels
- Timestamp:
- 10 Nov 2015, 06:44:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py
r13346 r13426 204 204 hostel = Hostel() 205 205 self.applyData(hostel, **data) 206 hostel.hostel_id = data[ 207 ' hostel_name'].lower().replace(' ','-').replace('_','-')206 hostel.hostel_id = data['hostel_name'].lower().replace( 207 ' ','-').replace('_','-').replace('.','') 208 208 try: 209 209 self.context.addHostel(hostel)
Note: See TracChangeset for help on using the changeset viewer.