From a4d30ad7b4481fe68e37d01a2c0b289445cf27a2 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Wed, 8 Apr 2015 15:53:39 +0200 Subject: adding a reset link to the feed page --- pyaggr3g470r/views/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/views') diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py index 9d74fa75..895584a4 100644 --- a/pyaggr3g470r/views/feed.py +++ b/pyaggr3g470r/views/feed.py @@ -75,7 +75,7 @@ def delete(feed_id=None): @login_required def reset_errors(feed_id): feed_contr = FeedController(g.user.id) - feed = feed_contr.get(feed_id) + feed = feed_contr.get(id=feed_id) feed_contr.update({'id': feed_id}, {'error_count': 0, 'last_error': ''}) flash(gettext('Feed %(feed_title)r successfully updated.', feed_title=feed.title), 'success') -- cgit