Update stiching to differentiate bwtween stitchers that use a thread and those that block

This commit is contained in:
Julian Stirling 2025-08-06 17:47:33 +01:00
parent 5f092835ac
commit cd311f08bf
3 changed files with 11 additions and 18 deletions

View file

@ -715,7 +715,7 @@ class SmartScanThing(lt.Thing):
)
try:
# start the final stitch, providing the cancel hook to allow aborting
final_stitcher.start(cancel)
final_stitcher.run(cancel)
except lt.exceptions.InvocationCancelledError:
# Sleep for 1 second just to allow invocation logs to pass to user.
time.sleep(1)