Move update data outside of finally block

This commit is contained in:
jaknapper 2025-05-13 11:32:03 +01:00
parent 272f050905
commit 845c21c68a

View file

@ -186,6 +186,7 @@ class SmartScanThing(Thing):
# record starting position so we can return there
self._starting_position = self._stage.position
self._run_scan()
self._update_scan_inputs_json()
except Exception as e:
# If _scan_data is set then scan started
if self._scan_data is not None: