aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/feed.py')
-rw-r--r--src/web/views/feed.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 959179f9..1b6c8654 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -88,11 +88,9 @@ def delete(feed_id=None):
@login_required
def reset_errors(feed_id):
feed_contr = FeedController(g.user.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')
- return redirect(request.referrer or url_for('home'))
+ feed_contr.update({'id': feed_id},
+ {'error_count': 0, 'last_error': ''})
+ return ''
@feed_bp.route('/bookmarklet', methods=['GET', 'POST'])
bgstack15