Ignore:
Timestamp:
7 Aug 2025, 11:45:23 (22 hours ago)
Author:
Henrik Bettermann
Message:

Fix bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py

    r18147 r18151  
    240240            p_item = p_item.strip(' + ')
    241241
    242         elif category.startswith('trcn'):
    243             if student.certcode not in ('TRCNDEG', 'TRCNNCE'):
     242        elif category.startswith('trcn') and not student.certcode in ('TRCNDEG', 'TRCNNCE'):
    244243                return _('You are not a TRCN student.'), None
    245244        else:
Note: See TracChangeset for help on using the changeset viewer.