From 94fcd3adaff568cd416fc08831627fa51c4482c6 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 13 Mar 2013 21:34:32 +0100 Subject: Fixed: missing parameter name in tmpl.render(). --- source/pyAggr3g470r.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') 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("

The URL of the feed has been changed.

") + return tmpl.render(message="

The URL of the feed has been changed.

") else: return self.error("

Error when changing the URL of the feed.

") @@ -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("

The name of the feed has been changed.

") + return tmpl.render(message="

The name of the feed has been changed.

") except: return self.error("

Error when changing the name of the feed.

") @@ -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("

The logo of the feed has been changed.

") + return tmpl.render(message="

The logo of the feed has been changed.

") except: return self.error("

Error when changing the logo of the feed.

") -- cgit