Permalink
Browse files

404 fix

  • Loading branch information...
1 parent ec926b8 commit b5669f92146b5e4b6cd479bbbde518170319bc8e @dustball dustball committed Jul 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 main.py
View
3 main.py
@@ -112,7 +112,8 @@ def get(self, pagename, site = PB_WIKI):
raise LookupError
except LookupError:
self.response.out.write(template.render('templates/404.html', locals()))
- self.error(404)
+ self.response.set_status(404)
+
app = webapp.WSGIApplication([

0 comments on commit b5669f9

Please sign in to comment.