From 7100b00f1253285204aeae7742391b09df4c24b9 Mon Sep 17 00:00:00 2001 From: TamarZanzouri Date: Thu, 26 Sep 2024 10:40:57 -0400 Subject: [PATCH] fix(api): unbound variable in close lid (#16358) fixed unbound variable that was merged in [#16276](https://github.com/Opentrons/opentrons/pull/16276) --- .../commands/absorbance_reader/close_lid.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/src/opentrons/protocol_engine/commands/absorbance_reader/close_lid.py b/api/src/opentrons/protocol_engine/commands/absorbance_reader/close_lid.py index f48211d3baf..f7d7b999104 100644 --- a/api/src/opentrons/protocol_engine/commands/absorbance_reader/close_lid.py +++ b/api/src/opentrons/protocol_engine/commands/absorbance_reader/close_lid.py @@ -134,12 +134,12 @@ async def execute( labware_location=new_location, ) - state_update = StateUpdate() - state_update.set_labware_location( - labware_id=loaded_lid.id, - new_location=new_location, - new_offset_id=new_offset_id, - ) + state_update = StateUpdate() + state_update.set_labware_location( + labware_id=loaded_lid.id, + new_location=new_location, + new_offset_id=new_offset_id, + ) return SuccessData( public=CloseLidResult(