Ignore:
Timestamp:
8 Feb 2012, 17:45:14 (13 years ago)
Author:
Henrik Bettermann
Message:

Extend level range for import.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/batching.py

    r7548 r7612  
    303303          end_level = certificate.end_level
    304304          if conv_dict['current_level'] < start_level or \
    305               conv_dict['current_level'] > end_level:
     305              conv_dict['current_level'] > end_level+120:
    306306              errs.append(('current_level','not in range'))
    307307        return errs, inv_errs, conv_dict
     
    398398        try:
    399399            level = int(row['level'])
    400             if level not in range(0,600,10):
     400            if level not in range(0,700,10):
    401401                errs.append(('level','no valid integer'))
    402402        except ValueError:
Note: See TracChangeset for help on using the changeset viewer.