aboutsummaryrefslogtreecommitdiff
path: root/src/manager.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-01-04 22:39:48 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-01-04 22:39:48 +0100
commit44edd51e211ab4c0e192a41423b1e57474754198 (patch)
tree125fc2f3223781bec30ea82116fdfa13984784a9 /src/manager.py
parentAdd the possibility to mark as read articles older than 5 days. (diff)
downloadnewspipe-44edd51e211ab4c0e192a41423b1e57474754198.tar.gz
newspipe-44edd51e211ab4c0e192a41423b1e57474754198.tar.bz2
newspipe-44edd51e211ab4c0e192a41423b1e57474754198.zip
Minor improvements to the crawler (logging of errors).
Diffstat (limited to 'src/manager.py')
-rwxr-xr-xsrc/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.py b/src/manager.py
index 5aedbe18..6967176e 100755
--- a/src/manager.py
+++ b/src/manager.py
@@ -44,7 +44,7 @@ def fetch_asyncio(user_id, feed_id):
from flask import g
from web.models import User
from web import crawler
- users, feed_id = [], None
+ users = []
try:
users = User.query.filter(User.id == int(user_id)).all()
except:
bgstack15