Closedown
This commit is contained in:
1 parent
3e91fcfcfc
commit
6229e52816
1 file changed
+3
-2
@@ -5,7 +5,7 @@ if controller.state == State.Ready and Scienta.state.isInitialized():
|
||||
|
||||
if scientaCurrentImageCount>0:
|
||||
#Criteria is: currentImageCount decreated
|
||||
if globals.has_key("scientaLastImageCount"):
|
||||
if globals().has_key("scientaLastImageCount"):
|
||||
if scientaCurrentImageCount < scientaLastImageCount:
|
||||
_scientaRestart = True
|
||||
else:
|
||||
@@ -19,7 +19,7 @@ if controller.state == State.Ready and Scienta.state.isInitialized():
|
||||
pass
|
||||
if i < retries-1:
|
||||
#Communication ok
|
||||
if globals.has_key("scientaTimeOut"):
|
||||
if globals().has_key("scientaTimeOut"):
|
||||
if scientaTimeOut:
|
||||
_scientaRestart = True
|
||||
scientaTimeOut = False
|
||||
@@ -37,3 +37,4 @@ if controller.state == State.Ready and Scienta.state.isInitialized():
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user