fail
[uccdoor.git] / server.py
index 89f28bc..5814804 100755 (executable)
--- a/server.py
+++ b/server.py
@@ -80,7 +80,7 @@ class Door(dbus.service.Object):
         except:
             newstatus = -1
         
         except:
             newstatus = -1
         
-        syslog.syslog(142, "status, newstatus for %s is %i, %i" % (self.service, status, newstatus))
+        syslog.syslog(142, "status, newstatus for %s is %i, %i" % (self.service, self.status, newstatus))
         if newstatus != self.status:
             syslog.syslog(142, "status changed detected for  %s" % self.service)
             self.status = newstatus
         if newstatus != self.status:
             syslog.syslog(142, "status changed detected for  %s" % self.service)
             self.status = newstatus

UCC git Repository :: git.ucc.asn.au