aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-26 18:25:38 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-26 18:25:38 +0100
commit1c7d27938a47ab3739400867351ef00652440217 (patch)
treed3ca6875f5d3e2fc7ae8a920486e04e72432adbb /pyaggr3g470r/views.py
parentAdded an option to choose if URL of articles behind proxies should be resolved. (diff)
downloadnewspipe-1c7d27938a47ab3739400867351ef00652440217.tar.gz
newspipe-1c7d27938a47ab3739400867351ef00652440217.tar.bz2
newspipe-1c7d27938a47ab3739400867351ef00652440217.zip
The description of the feed is stored in the database.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 1c1b1237..5e68febb 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -372,7 +372,7 @@ def edit_feed(feed_id=None):
# Create a new feed
existing_feed = [feed for feed in user.feeds if feed.link == form.link.data]
if len(existing_feed) == 0:
- new_feed = models.Feed(title=form.title.data, link=form.link.data, \
+ new_feed = models.Feed(title=form.title.data, description="", link=form.link.data, \
site_link=form.site_link.data, email=form.email_notification.data, \
enabled=form.enabled.data)
user.feeds.append(new_feed)
bgstack15