aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/views/feed.py')
-rw-r--r--pyaggr3g470r/views/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py
index 895584a4..f0e35e4b 100644
--- a/pyaggr3g470r/views/feed.py
+++ b/pyaggr3g470r/views/feed.py
@@ -135,7 +135,7 @@ def form(feed_id=None):
if not form.validate():
return render_template('edit_feed.html', form=form)
existing_feeds = list(feed_contr.read(link=form.link.data))
- if existing_feeds:
+ if existing_feeds and feed_id is None:
flash(gettext("Couldn't add feed: feed already exists."),
"warning")
return redirect(url_for('feed.form',
bgstack15