Move update data outside of finally block
This commit is contained in:
parent
272f050905
commit
845c21c68a
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue