Commit 140275a2 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed last commit

parent e6e9a481
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment