Fix: Wrong insight in _check_event

This commit is contained in:
Zebartin 2024-05-20 09:22:45 +08:00
parent 6e5e529a0e
commit 3b6fdbf554

View File

@ -205,8 +205,8 @@ class Assignment(AssignmentClaim, SynthesizeUI):
continue continue
logger.hr('Assignment event', level=2) logger.hr('Assignment event', level=2)
logger.info(f'Check assignment event: {assignment}') logger.info(f'Check assignment event: {assignment}')
# Order of entries does not change during iteration # Order of entries changes if claimed
self.goto_entry(assignment, insight=False) self.goto_entry(assignment, insight=claimed)
status = self._check_assignment_status() status = self._check_assignment_status()
if status == AssignmentStatus.LOCKED: if status == AssignmentStatus.LOCKED:
continue continue