From 002f195f889f2dfa9a0bd308ecc770e768dbfb83 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 9 Feb 2015 20:21:27 +0100 Subject: test --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index fd3d2e60..f0422c3c 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -663,7 +663,7 @@ def edit_feed(feed_id=None): db.session.commit() flash(gettext('Feed successfully created.'), 'success') - utils.fetch(g.user.email, Feed.query.filter(Feed.link == form.link.data).first().id) + utils.fetch(g.user.id, Feed.query.filter(Feed.link == form.link.data).first().id) flash(gettext("Downloading articles for the new feed..."), 'info') return redirect('/edit_feed/' + str(new_feed.id)) -- cgit