aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-13 21:34:32 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-13 21:34:32 +0100
commit94fcd3adaff568cd416fc08831627fa51c4482c6 (patch)
treef1d4ccc1172432ce3f91a64eafe82cc51ac6a19e /source/pyAggr3g470r.py
parentError messages are displayed with a dedicated function. (diff)
downloadnewspipe-94fcd3adaff568cd416fc08831627fa51c4482c6.tar.gz
newspipe-94fcd3adaff568cd416fc08831627fa51c4482c6.tar.bz2
newspipe-94fcd3adaff568cd416fc08831627fa51c4482c6.zip
Fixed: missing parameter name in tmpl.render().
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index b8e5edcd..f72729eb 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -536,7 +536,7 @@ class pyAggr3g470r(object):
result = utils.change_feed_url(old_feed_url, new_feed_url)
if result:
tmpl = lookup.get_template("confirmation.html")
- return tmpl.render("<p>The URL of the feed has been changed.</p>")
+ return tmpl.render(message="<p>The URL of the feed has been changed.</p>")
else:
return self.error("<p>Error when changing the URL of the feed.</p>")
@@ -550,7 +550,7 @@ class pyAggr3g470r(object):
try:
self.mongo.update_feed(feed_id, {"feed_title":new_feed_name})
tmpl = lookup.get_template("confirmation.html")
- return tmpl.render("<p>The name of the feed has been changed.</p>")
+ return tmpl.render(message="<p>The name of the feed has been changed.</p>")
except:
return self.error("<p>Error when changing the name of the feed.</p>")
@@ -564,7 +564,7 @@ class pyAggr3g470r(object):
try:
self.mongo.update_feed(feed_id, {"feed_image":new_feed_logo})
tmpl = lookup.get_template("confirmation.html")
- return tmpl.render("<p>The logo of the feed has been changed.</p>")
+ return tmpl.render(message="<p>The logo of the feed has been changed.</p>")
except:
return self.error("<p>Error when changing the logo of the feed.</p>")
bgstack15