Skip to content

Commit

Permalink
Fix inverted ID comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Jan 15, 2025
1 parent 6eee4bf commit 8bc756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isar/state_machine/states/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _queue_inspections_for_upload(
inspection: Inspection = self.state_machine.robot.get_inspection(
task=current_task
)
if current_task.inspection_id == inspection.id:
if current_task.inspection_id != inspection.id:
self.logger.warning(
f"The inspection_id of task ({current_task.inspection_id}) "
f"and result ({inspection.id}) is not matching. "
Expand Down

0 comments on commit 8bc756d

Please sign in to comment.