aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-25 23:18:55 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-25 23:18:55 +0100
commitd6b34ceb21951d97fd978e66d03459749d6dea6e (patch)
treebacd9f9028ef07beb75aadeb57a8fb2aae849d7d /pyaggr3g470r/views.py
parentRelease 6.1. Updated NEWS.rst (diff)
downloadnewspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.tar.gz
newspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.tar.bz2
newspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.zip
Removed the functionality for the email notifications of new articles. No real added value.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index f0422c3c..e5e07cde 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -656,8 +656,7 @@ def edit_feed(feed_id=None):
existing_feed = [feed for feed in g.user.feeds if feed.link == form.link.data]
if len(existing_feed) == 0:
new_feed = Feed(title=form.title.data, description="", link=form.link.data, \
- site_link=form.site_link.data, email_notification=form.email_notification.data, \
- enabled=form.enabled.data)
+ site_link=form.site_link.data, enabled=form.enabled.data)
g.user.feeds.append(new_feed)
#user.feeds = sorted(user.feeds, key=lambda t: t.title.lower())
db.session.commit()
bgstack15