From bb5b471c3bafe46ba329c439d194cddcf60055b1 Mon Sep 17 00:00:00 2001 From: realraum Date: Tue, 8 Sep 2009 14:01:17 +0000 Subject: [PATCH] bugfix --- door_daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/door_daemon.py b/door_daemon.py index dd78d0c..f17083b 100755 --- a/door_daemon.py +++ b/door_daemon.py @@ -22,19 +22,19 @@ class StatusDisplay(): def display_open(self): if self.last_status_set != self.url_open: + self.last_status_set=self.url_open try: #print "accessing %s\n" % self.last_status_set f = urllib.urlopen(self.last_status_set) f.read() f.close() - self.last_status_set=self.url_open except: pass def display_closed(self): if self.last_status_set != self.url_closed: + self.last_status_set=self.url_closed try: - self.last_status_set=self.url_closed #print "accessing %s\n" % self.last_status_set f = urllib.urlopen(self.last_status_set) f.read() -- 1.7.10.4