- Timestamp:
- 23 May 2010, 04:29:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fill_session_in_course_results.py
r5144 r5203 56 56 #set_trace() 57 57 session_id = level_doc.session 58 if len(session_id) == 2: 59 pass 60 elif len(session_id) == 9: 61 session_id = session_id[2:4] 62 if len(session_id) != 2: 63 logger.info("invalid session %s in level %s for student %s" % 64 (session_id,brain.level_id,brain.student_id)) 58 65 data['session_id'] = session_id 59 66 course_results.modifyRecord(**data)
Note: See TracChangeset for help on using the changeset viewer.