Cleanup en fixes for live
This commit is contained in:
parent
a780818ef8
commit
43c327823e
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ class CentralManagement():
|
|||
#
|
||||
#
|
||||
|
||||
# self.eventQueue.put(Signal('start', {'ding':'test'}))
|
||||
self.eventQueue.put(Signal('start', {'ding':'test'}))
|
||||
|
||||
while self.isRunning.is_set():
|
||||
time.sleep(.5)
|
||||
|
@ -229,7 +229,7 @@ class CentralManagement():
|
|||
else:
|
||||
self.logger.warning('DO NOT update status')
|
||||
elif signal.name == 'plotter.finished':
|
||||
if self.currentHit.submit_page_at:
|
||||
if self.currentHit and self.currentHit.submit_page_at:
|
||||
self.setLight(False)
|
||||
scan = threading.Thread(target=self.scanImage, name='scan')
|
||||
scan.start()
|
||||
|
|
Loading…
Reference in a new issue