Changeset 1677 for WAeUP_SRP/trunk


Ignore:
Timestamp:
10 Apr 2007, 14:10:50 (18 years ago)
Author:
Henrik Bettermann
Message:

modifications to import 'withdrawal' dummy results (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getLevelFromResultsCosCode.py

    r1463 r1677  
    1111lnr = 0
    1212for e in list:
    13     if e.CosCode == "N/A":
    14         return 2
     13    if e.CosCode == "N/A":
     14       
     15        # used for medical dummy results
     16        # return 2
     17       
     18        # used for 'Temporary Withdrawal' dummy results
     19        return e.Level[0]
    1520    try:
    1621        cc = int(e.CosCode[3])
Note: See TracChangeset for help on using the changeset viewer.