diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-01-04 22:39:48 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-01-04 22:39:48 +0100 |
commit | 44edd51e211ab4c0e192a41423b1e57474754198 (patch) | |
tree | 125fc2f3223781bec30ea82116fdfa13984784a9 /src/manager.py | |
parent | Add the possibility to mark as read articles older than 5 days. (diff) | |
download | newspipe-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-x | src/manager.py | 2 |
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: |