Changeset 5695 for WAeUP_SRP


Ignore:
Timestamp:
1 Feb 2011, 07:12:14 (14 years ago)
Author:
Henrik Bettermann
Message:

Fix script for FCEOKene (see changes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/fix_session_in_course_results.py

    r5211 r5695  
    5353        session_id = session_id[2:4]
    5454    elif len(session_id) != 2:
    55         logger.info("invalid session %s in level %s for student %s" %
    56                     (session_id,brain.level_id,brain.student_id))               
    57        
     55        #logger.info("invalid session %s in level %s for student %s" %
     56        #            (session_id,brain.level_id,brain.student_id))               
     57        continue       
    5858    if brain.session_id != session_id:
    5959        data = {}
    60         old_session_id == brain.session_id
     60        old_session_id = brain.session_id
    6161        data['key'] = brain.key
    6262        data['session_id'] = session_id
Note: See TracChangeset for help on using the changeset viewer.