diff options
author | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-10 00:28:49 +0100 |
---|---|---|
committer | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-10 00:28:49 +0100 |
commit | 615dfd240f56913738219b6e9d002a61245aa3c5 (patch) | |
tree | 95390059e6135a0897127691f40b0cde4742167d /app/__init__.py | |
parent | ecb6ed5866db16c74803d87063f980e17927b1fe (diff) | |
download | klausuren-615dfd240f56913738219b6e9d002a61245aa3c5.tar.gz klausuren-615dfd240f56913738219b6e9d002a61245aa3c5.tar.bz2 klausuren-615dfd240f56913738219b6e9d002a61245aa3c5.zip |
Fix arguments for forbidden()
Diffstat (limited to 'app/__init__.py')
-rw-r--r-- | app/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/__init__.py b/app/__init__.py index 44afcb6..44115c7 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -33,8 +33,8 @@ def configure_app(app): def configure_error_handlers(app): @app.route('/403') @app.errorhandler(403) - def forbidden(e): - return render_template('403.html', error=e), e.code + def forbidden(): + return render_template('403.html'), 403 @app.errorhandler(400) @app.errorhandler(404) |