diff options
Diffstat (limited to 'source')
-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() |