summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-02-25 15:13:43 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-02-25 15:13:43 +0100
commit0618b38d34827e0e9ba2a0dbff7964761b2b7662 (patch)
treed1f5ea4de75af03f4de6eb4ebd041781e4252dc9
parentf901ae9feaa604dd3b151d51fe0b831d276262dd (diff)
downloadmpd-box-0618b38d34827e0e9ba2a0dbff7964761b2b7662.tar.gz
mpd-box-0618b38d34827e0e9ba2a0dbff7964761b2b7662.tar.xz
daemon: fix typo in logger call
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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")