Skip to content

Commit

Permalink
simplify found model loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Dec 14, 2023
1 parent 7477ba7 commit 0c24f83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/src/opentrons/hardware_control/backends/ot3simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,7 @@ def _attached_pipette_to_mount(
),
"id": None,
}
if (found_model and expected_instr or found_model) and init_instr[
"id"
] is not None:
if found_model and init_instr["id"] is not None:
# Instrument detected matches instrument expected (note:
# "instrument detected" means passed as an argument to the
# constructor of this class)
Expand Down

0 comments on commit 0c24f83

Please sign in to comment.