aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index a7f12de8..8508615e 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -792,12 +792,8 @@ class pyAggr3g470r(object):
"""
Display a message (bad feed id, bad article id, etc.)
"""
- html = htmlheader()
- html += htmlnav
- html += """<div class="left inner">"""
- html += """%s""" % message
- html += "\n<hr />\n" + htmlfooter
- return html
+ tmpl = lookup.get_template("error.html")
+ return tmpl.render(message=message)
error_page.exposed = True
@@ -842,7 +838,6 @@ class pyAggr3g470r(object):
action, feed_id = param.split(':')
except:
return self.error_page("Bad URL. This feed do not exists.")
-
return self.index()
mail_notification.exposed = True
bgstack15