Skip to content

Commit

Permalink
404 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dustball committed Jul 18, 2013
1 parent ec926b8 commit b5669f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit b5669f9

Please sign in to comment.