From db34984df771fd395ee2e873c24bc118a4b1c002 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 19 Aug 2013 13:44:35 +0200 Subject: Bugfix: there was a problem when enabling email notifications for a feed. --- source/pyAggr3g470r.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') 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("

Bad URL. This feed do not exists.

") return self.index() -- cgit