Changeset 9187


Ignore:
Timestamp:
15 Sep 2012, 19:47:04 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix if statement.

File:
1 edited

Legend:

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

    r9178 r9187  
    374374        entry_session = studycourse.entry_session
    375375        current_level = studycourse.current_level
    376         if not (entry_session and current_level and certificate):
    377             return
     376        if None in (entry_session, current_level, certificate):
     377            return d
    378378        end_level = certificate.end_level
    379379        if current_level == 10:
Note: See TracChangeset for help on using the changeset viewer.