This commit is contained in:
Richard Schreiber
2026-05-13 10:26:24 +02:00
parent 42e5732e8d
commit 49e60700b0

View File

@@ -736,7 +736,7 @@ def _redeem_process(*, checkinlists, raw_barcode, answers_data, datetime, force,
for op in op_candidates:
if (
op.valid_until and op.valid_until < now_dt and
(not op_candidate or op.valid_from > op_candidate.valid_from)
(not op_candidate or op.valid_until > op_candidate.valid_until)
):
op_candidate = op