summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdaemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.py b/daemon.py
index 8a61442..f32bb05 100755
--- a/daemon.py
+++ b/daemon.py
@@ -39,7 +39,7 @@ class Daemon:
# arduino sometimes has a dirty buffer
# and sends junk before the ready message
if not incoming.endswith("ready"):
- log.error("Got reply: '"+incoming+"'")
+ logger.error("Got reply: '"+incoming+"'")
raise Exception("Wrong or no client greeting")
self.ser.timeout = 1
logger.debug("got client greeting")