mirror of
https://github.com/gryf/wicd.git
synced 2026-01-07 14:24:22 +01:00
Added check for loop before exiting loop
This commit is contained in:
@@ -99,7 +99,8 @@ class wrap_exceptions:
|
|||||||
raise
|
raise
|
||||||
except :
|
except :
|
||||||
# Quit the loop
|
# Quit the loop
|
||||||
loop.quit()
|
if 'loop' in locals():
|
||||||
|
loop.quit()
|
||||||
# Zap the screen
|
# Zap the screen
|
||||||
ui.stop()
|
ui.stop()
|
||||||
# Print out standard notification:
|
# Print out standard notification:
|
||||||
|
|||||||
Reference in New Issue
Block a user