From: James Andrewartha Date: Tue, 20 Oct 2009 07:14:16 +0000 (+0800) Subject: duh X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=735908a2b94556e25dbac3d374dbfa39b39fab38;p=uccdoor.git duh --- 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)