summaryrefslogtreecommitdiffstats
path: root/bin/updater.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/updater.py')
-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')