From 7bb64998c4eb8de4062f01d48c1de5a8d70fb8d3 Mon Sep 17 00:00:00 2001 From: James Andrewartha Date: Mon, 26 Oct 2009 11:05:07 +0800 Subject: [PATCH] sigh --- client-xmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-xmpp.py b/client-xmpp.py index 7d8d9dd..2344158 100755 --- a/client-xmpp.py +++ b/client-xmpp.py @@ -52,7 +52,7 @@ class Door(object): self.state_changed(new_state) def state_changed(self, new_state): - print "xmpp state change detected for %s from %i to %i" % (self.doorname, self.state, newstate) + print "xmpp state change detected for %s from %i to %i" % (self.doorname, self.state, new_state) self.state = new_state # look up the dictionary object for the current state, then construct # a presence object using that as a keyword argument -- 2.20.1