Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
140275a2
Commit
140275a2
authored
Aug 21, 2017
by
Julian Rother
Browse files
Fixed last commit
parent
e6e9a481
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
140275a2
...
...
@@ -236,7 +236,7 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
@
app
.
errorhandler
(
404
)
@
app
.
route
(
'/invalidpath'
)
def
handle_not_found
(
e
):
def
handle_not_found
(
e
=
None
):
return
render_endpoint
(
'index'
,
'Diese Seite existiert nicht!'
),
404
@
app
.
errorhandler
(
500
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment