diff --git a/src/main.py b/src/main.py index d79afda..7e7ea29 100644 --- a/src/main.py +++ b/src/main.py @@ -45,7 +45,7 @@ def callback(): @app.errorhandler(Unauthorized) @app.errorhandler(AccessDenied) -def redirect_unauthorized(): +def redirect_unauthorized(e): # pylint: disable=unused-argument return redirect(url_for(".index")) if __name__ == '__main__':