From 6b947883f656cb7ce7b1ca263f1a1663405f28aa Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 4 Sep 2013 10:53:04 +0000 Subject: [PATCH] track presence knows about ssh --- track-presence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/track-presence.py b/track-presence.py index 2b73e0d..3877c5c 100755 --- a/track-presence.py +++ b/track-presence.py @@ -215,7 +215,7 @@ def trackDoorStatusThread(uwscfg, status_tracker,connection_listener): global door_sockhandle, door_socklock, threads_running #socket.setdefaulttimeout(10.0) #affects all new Socket Connections (urllib as well) RE_STATUS = re.compile(r'Status: (closed|opened), (opening|waiting|closing|idle), (ajar|shut).*',re.I) - RE_REQUEST = re.compile(r'Request: (\w+) (?:(Card|Phone) )?(.+)',re.I) + RE_REQUEST = re.compile(r'Request: (\w+) (?:(Card|Phone|SSH|ssh) )?(.+)',re.I) RE_ERROR = re.compile(r'Error: (.+)',re.I) while threads_running: uwscfg.checkConfigUpdates() -- 1.7.10.4