From 160f731281de2a4672abe84352c4248049493074 Mon Sep 17 00:00:00 2001 From: Philip Trauner Date: Mon, 5 Dec 2016 23:00:05 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20syntax=20error=20=E0=B2=A0=5F=E0=B2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Wallaby/Wallaby.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wallaby/Wallaby.py b/Wallaby/Wallaby.py index 3261241..e6656f0 100644 --- a/Wallaby/Wallaby.py +++ b/Wallaby/Wallaby.py @@ -29,7 +29,7 @@ class SensorReadout: ANALOG = 1 DIGITAL = 2 - def __init__(self, poll_rate=0.2, handler): + def __init__(self, handler, poll_rate=0.2): self.poll_rate = poll_rate self.handler = handler self.peers = {} @@ -236,7 +236,7 @@ try: ws = Handler(config.server_address) # setup has to be called before the connection is established ws.setup({"subscribe" : Subscribe(), "hostname" : Hostname(), - "processes" : Processes()}, + "processes" : Processes()}, debug=config.debug) ws.connect() ws.run_forever()