diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-24 13:30:11 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-24 13:30:11 +0200 |
commit | 106d83ea8157c6f14a399716381ddf07ac21a024 (patch) | |
tree | fab0f6c0fa0dd449b52242377da17c97e0bb8168 /src/web/views/feed.py | |
parent | Updated deprecated code. (diff) | |
download | newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.gz newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.bz2 newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.zip |
add the possibility to mak a feed as private
Diffstat (limited to 'src/web/views/feed.py')
-rw-r--r-- | src/web/views/feed.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py index 6338f320..92aef10a 100644 --- a/src/web/views/feed.py +++ b/src/web/views/feed.py @@ -191,7 +191,8 @@ def process_form(feed_id=None): # Edit an existing feed feed_attr = {'title': form.title.data, 'enabled': form.enabled.data, 'link': form.link.data, 'site_link': form.site_link.data, - 'filters': [], 'category_id': form.category_id.data} + 'filters': [], 'category_id': form.category_id.data, + 'private': form.private.data} if not feed_attr['category_id'] or feed_attr['category_id'] == '0': del feed_attr['category_id'] |