From 735908a2b94556e25dbac3d374dbfa39b39fab38 Mon Sep 17 00:00:00 2001 From: James Andrewartha Date: Tue, 20 Oct 2009 15:14:16 +0800 Subject: [PATCH] duh --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 5f7b571..89f28bc 100755 --- a/server.py +++ b/server.py @@ -80,9 +80,9 @@ class Door(dbus.service.Object): except: newstatus = -1 - syslog.syslog(142, "status, newstatus for %s is %i, %i" % (servicename, status, newstatus)) + syslog.syslog(142, "status, newstatus for %s is %i, %i" % (self.service, status, newstatus)) if newstatus != self.status: - syslog.syslog(142, "status changed detected for %s" % servicename) + syslog.syslog(142, "status changed detected for %s" % self.service) self.status = newstatus # emit signal self.status_changed(newstatus) -- 2.20.1