aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py2
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()
bgstack15