summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.py b/index.py
index f36fd92..0ab9e1b 100755
--- a/index.py
+++ b/index.py
@@ -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)