Changeset 2655
- Timestamp:
- 14 Nov 2007, 20:42:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py
r2650 r2655 8 8 if student_id: 9 9 end_level = context.students_catalog(id = student_id)[0].end_level 10 if end_level .isdigit():10 if end_level and end_level.isdigit(): 11 11 end_level = int(end_level) 12 12 13 13 if key is None: 14 14 levels = [l for l in range(100,end_level+200,10) … … 28 28 return voc 29 29 30 if key .isdigit():30 if key and key.isdigit(): 31 31 ikey = int(key) 32 32 else:
Note: See TracChangeset for help on using the changeset viewer.