From 5b9ac7b57e1da38571cb111e8c0005ce6dee035c Mon Sep 17 00:00:00 2001 From: James Andrewartha Date: Mon, 26 Oct 2009 11:07:00 +0800 Subject: [PATCH] fail less --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 91fa630..4bdcdd0 100755 --- a/server.py +++ b/server.py @@ -72,7 +72,7 @@ class Door(dbus.service.Object): newstatus = -1 if newstatus != self.status: - syslog.syslog(142, "status changed detected for %s; status: %i, newstatus: %i" % self.service, self.status, newstatus) + syslog.syslog(142, "status changed detected for %s; status: %i, newstatus: %i" % (self.service, self.status, newstatus)) self.status = newstatus # emit signal self.status_changed(newstatus) -- 2.20.1