From 7287cc5ffff0389267f42e167896029b5b86080a Mon Sep 17 00:00:00 2001 From: David Paleino Date: Tue, 4 Oct 2011 22:45:25 +0200 Subject: [PATCH] ensure 'check' and 'message' are initialized in cli/wicd-cli.py, thanks to David Cantrell --- cli/wicd-cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/wicd-cli.py b/cli/wicd-cli.py index 33f33c2..9bf8917 100644 --- a/cli/wicd-cli.py +++ b/cli/wicd-cli.py @@ -196,6 +196,9 @@ if options.connect: check = lambda: wired.CheckIfWiredConnecting() message = lambda: wired.CheckWiredConnectingMessage() + else: + check = lambda: False + message = lambda: False # update user on what the daemon is doing last = None