From aa795319c59d217b0d541d3cd25d8da9f62acaad Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 25 Nov 2023 17:31:26 -0500 Subject: [PATCH] fixed an error in the unauthorized/accessdenied handler --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__':