From: Bernhard Tittelbach Date: Wed, 4 Sep 2013 10:53:04 +0000 (+0000) Subject: track presence knows about ssh X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=6b947883f656cb7ce7b1ca263f1a1663405f28aa;p=svn42.git track presence knows about ssh --- 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()