Added check for loop before exiting loop
This commit is contained in:
1 parent
4fc52511ba
commit
8ffe722053
1 file changed
+2
-1
@@ -99,7 +99,8 @@ class wrap_exceptions:
|
||||
raise
|
||||
except :
|
||||
# Quit the loop
|
||||
loop.quit()
|
||||
if 'loop' in locals():
|
||||
loop.quit()
|
||||
# Zap the screen
|
||||
ui.stop()
|
||||
# Print out standard notification:
|
||||
|
||||
Reference in new issue
Block a user