diff options
author | Christian Franke <nobody@nowhere.ws> | 2014-05-06 04:39:34 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2014-05-06 04:39:34 +0200 |
commit | 30e51bd0f164bc2ed82fd7ca17affc268fc1174a (patch) | |
tree | 11caf8fbe26443707e03084b33df1e85c1453f91 | |
parent | 5adb0aa38f8f14d288da14017d3302dfa50d806d (diff) |
doorwatch: fixup longpoll commit
-rw-r--r-- | doorwatch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doorwatch.py b/doorwatch.py index 64a9fbd..1e83848 100644 --- a/doorwatch.py +++ b/doorwatch.py @@ -34,6 +34,8 @@ if __name__ == '__main__': r.close() last_ref = data['ref'] + data = data['data'] + closed = data['door.left']['value'] if was_closed and not closed: print "Door has been opened!" |