diff options
Diffstat (limited to '')
-rwxr-xr-x | index.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -24,11 +24,10 @@ class Renderer: output_encoding='utf-8') def render (self, tpl): - print tpl try: t = self.get_tpl(tpl) except mako.exceptions.TopLevelLookupException, e: - raise web.webapi.notfound(e) + raise web.notfound(e) return partial(t.render, w = web, h = helper) |