From 2ea470dfc61e054f477d08698b00f0a911b68cd5 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 9 Nov 2014 08:37:53 +0100 Subject: More robust fetch.py script. --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/views.py') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index ffc7a53b..712f1da3 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -267,7 +267,7 @@ def fetch(feed_id=None): Triggers the download of news. News are downloaded in a separated process, mandatory for Heroku. """ - utils.fetch(g.user.email, feed_id) + utils.fetch(g.user.id, feed_id) flash(gettext("Downloading articles..."), 'info') return redirect(redirect_url()) -- cgit