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():
|
while self.isRunning.is_set():
|
||||||
time.sleep(.5)
|
time.sleep(.5)
|
||||||
|
@ -229,7 +229,7 @@ class CentralManagement():
|
||||||
else:
|
else:
|
||||||
self.logger.warning('DO NOT update status')
|
self.logger.warning('DO NOT update status')
|
||||||
elif signal.name == 'plotter.finished':
|
elif signal.name == 'plotter.finished':
|
||||||
if self.currentHit.submit_page_at:
|
if self.currentHit and self.currentHit.submit_page_at:
|
||||||
self.setLight(False)
|
self.setLight(False)
|
||||||
scan = threading.Thread(target=self.scanImage, name='scan')
|
scan = threading.Thread(target=self.scanImage, name='scan')
|
||||||
scan.start()
|
scan.start()
|
||||||
|
|
Loading…
Reference in a new issue