Ignore:
Timestamp:
10 Oct 2012, 20:23:17 (12 years ago)
Author:
Henrik Bettermann
Message:

If end_level == 10 students can't continue with regular levels (test will follow).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py

    r9162 r9324  
    4343        if start_level == 999 or end_level == 999:
    4444            levels = [999]
     45        elif start_level == 10 and end_level == 10:
     46            levels = [10,]
    4547        elif start_level == 10:
    4648            levels = [10,] + [level for level in range(100,end_level+200,10)
     
    5153    else:
    5254        # default level range
    53         levels = [10, ]
     55        levels = [10,]
    5456        levels += [level for level in range(100,1000,10) if level % 100 < 30]
    5557        levels.append(999)
Note: See TracChangeset for help on using the changeset viewer.