diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-11 14:46:43 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-12 14:31:06 +0200 |
commit | 6de7a942771dfd00bb67f1c6087905570f8adcb6 (patch) | |
tree | cbd35b65326b28e281b9d119c7906c95c6d58f9e /pyaggr3g470r | |
parent | removing unread page (diff) | |
download | newspipe-6de7a942771dfd00bb67f1c6087905570f8adcb6.tar.gz newspipe-6de7a942771dfd00bb67f1c6087905570f8adcb6.tar.bz2 newspipe-6de7a942771dfd00bb67f1c6087905570f8adcb6.zip |
correcting a bug where we didn't allow to edit a feed
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/views/feed.py | 2 |
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', |