diff options
author | 2018-02-05 22:50:51 +0000 | |
---|---|---|
committer | 2018-02-05 22:50:51 +0000 | |
commit | 962be094cdcbf19b3a3939bd4bfa44162b3d2a86 (patch) | |
tree | 1a522029601bb1fd96652cef3279f628c4e77e39 /error_handlers | |
parent | Finally fix this garbage (diff) |
Mart's Missing Files 2: Electric Boogaloo
Diffstat (limited to 'error_handlers')
-rw-r--r-- | error_handlers/http_404.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/error_handlers/http_404.py b/error_handlers/http_404.py new file mode 100644 index 00000000..5920806f --- /dev/null +++ b/error_handlers/http_404.py @@ -0,0 +1,11 @@ +# coding=utf-8 + +# External Libraries +from werkzeug.wrappers import Response + + +class Index: + error_code = 404 + + def err(self): + return Response("Page not found!", 404) |