From 84330f851891e85413548f9693c3156e46d20757 Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Wed, 27 Jun 2012 17:21:21 +0200 Subject: [PATCH] Print the message before executing them. --- examples/python/live/server/TelldusCore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/live/server/TelldusCore.py b/examples/python/live/server/TelldusCore.py index 692baa19..43667dde 100644 --- a/examples/python/live/server/TelldusCore.py +++ b/examples/python/live/server/TelldusCore.py @@ -32,9 +32,9 @@ class TelldusCore(): device['state'] = self.lib.tdLastSentCommand(device['id'], supportedMethods) def turnoff(self, id): - self.lib.tdTurnOff(id) print "Turning off: %i" % id + self.lib.tdTurnOff(id) def turnon(self, id): - self.lib.tdTurnOn(id) print "Turning on: %i" % id + self.lib.tdTurnOn(id)