Skip to content
Snippets Groups Projects
Commit 140275a2 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed last commit

parent e6e9a481
Branches
No related tags found
No related merge requests found
...@@ -236,7 +236,7 @@ def handle_errors(endpoint, text, code, *errors, **epargs): ...@@ -236,7 +236,7 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
@app.errorhandler(404) @app.errorhandler(404)
@app.route('/invalidpath') @app.route('/invalidpath')
def handle_not_found(e): def handle_not_found(e=None):
return render_endpoint('index', 'Diese Seite existiert nicht!'), 404 return render_endpoint('index', 'Diese Seite existiert nicht!'), 404
@app.errorhandler(500) @app.errorhandler(500)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment