mirror of
https://github.com/gryf/wicd.git
synced 2025-12-21 21:38:06 +01:00
ensure 'check' and 'message' are initialized in cli/wicd-cli.py, thanks to David Cantrell
This commit is contained in:
@@ -196,6 +196,9 @@ if options.connect:
|
|||||||
|
|
||||||
check = lambda: wired.CheckIfWiredConnecting()
|
check = lambda: wired.CheckIfWiredConnecting()
|
||||||
message = lambda: wired.CheckWiredConnectingMessage()
|
message = lambda: wired.CheckWiredConnectingMessage()
|
||||||
|
else:
|
||||||
|
check = lambda: False
|
||||||
|
message = lambda: False
|
||||||
|
|
||||||
# update user on what the daemon is doing
|
# update user on what the daemon is doing
|
||||||
last = None
|
last = None
|
||||||
|
|||||||
Reference in New Issue
Block a user