summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-08-13 15:48:31 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-08-13 15:48:31 +0200
commit07eb992fa5576d77abafde2688ed90f81060d285 (patch)
treeaeef731bf9ca57319ca0744e0b9e3e69a0239d33 /bin
parent0ff2ae11e17ddca177fcdcb37a9c060f7d09dade (diff)
version bump1.204
Diffstat (limited to 'bin')
-rw-r--r--bin/updater.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/updater.py b/bin/updater.py
index 4e4ef409c..f168c6aff 100644
--- a/bin/updater.py
+++ b/bin/updater.py
@@ -109,7 +109,7 @@ class Updater:
feeds_json = feeds_response.read().decode('utf-8')
feeds = json.loads(feeds_json)['feeds']
- # start thread_num for feeds
+ # start thread_num threads which update the feeds
threads = []
for num in range(0, self.thread_num):
thread = UpdateThread(feeds, self.update_url, self.user,
@@ -126,7 +126,6 @@ class Updater:
# wait until the interval finished to run again
time.sleep(self.interval)
-
except (ValueError, urllib.error.HTTPError) as e:
print('%s: %s' % (self.base_url, e))
print('Trying again in 30 seconds')