diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-08-19 13:44:35 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-08-19 13:44:35 +0200 |
commit | db34984df771fd395ee2e873c24bc118a4b1c002 (patch) | |
tree | 10be8e3ae1c7494bad17dc50adff8d7730239e23 | |
parent | Updated index.html template. (diff) | |
download | newspipe-db34984df771fd395ee2e873c24bc118a4b1c002.tar.gz newspipe-db34984df771fd395ee2e873c24bc118a4b1c002.tar.bz2 newspipe-db34984df771fd395ee2e873c24bc118a4b1c002.zip |
Bugfix: there was a problem when enabling email notifications for a feed.
-rwxr-xr-x | source/pyAggr3g470r.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 3de1dfa6..956402ce 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -384,6 +384,8 @@ class pyAggr3g470r(object): """ try: action, feed_id = param.split(':') + new_value = 1 == int(action) + self.mongo.update_feed(feed_id, {"mail":new_value}) except: return self.error("<p>Bad URL. This feed do not exists.</p>") return self.index() |