Ignore:
Timestamp:
9 Apr 2022, 19:33:01 (2 years ago)
Author:
Henrik Bettermann
Message:

Remove passed tickets too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/export.py

    r16915 r16916  
    9696        for passed_ticket in passed_tickets:
    9797            for ticket in all_tickets:
    98                  if ticket.code == passed_ticket.code \
    99                     and ticket.remark != 'passed':
     98                 if ticket.code == passed_ticket.code: # remove passed ticket too
    10099                    obsolete.append(ticket)
    101100    for ticket in set(obsolete):
Note: See TracChangeset for help on using the changeset viewer.