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 f32bb05..04854a0 100755
--- a/daemon.py
+++ b/daemon.py
@@ -40,7 +40,7 @@ class Daemon:
# and sends junk before the ready message
if not incoming.endswith("ready"):
logger.error("Got reply: '"+incoming+"'")
- raise Exception("Wrong or no client greeting")
+ raise DaemonException("Wrong or no client greeting")
self.ser.timeout = 1
logger.debug("got client greeting")