From 91df005212363108f4deb31dc0fc81e2424547ce Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 11 Jun 2025 05:37:30 -0500 Subject: Fix issues caught by linter. --- uploader/authorisation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uploader/authorisation.py') diff --git a/uploader/authorisation.py b/uploader/authorisation.py index bc950d8..3cf3585 100644 --- a/uploader/authorisation.py +++ b/uploader/authorisation.py @@ -48,7 +48,7 @@ def require_token(func: Callable) -> Callable: """ def __invalid_token__(_whatever): logging.debug("==========> Failure log: %s", _whatever) - raise Exception( + raise Exception(# pylint: disable=[broad-exception-raised] "You attempted to access a feature of the system that requires " "authorisation. Unfortunately, we could not verify you have the " "appropriate authorisation to perform the action you requested. " -- cgit v1.2.3