diff options
author | Frederick Muriuki Muriithi | 2025-06-11 05:37:30 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-06-11 05:37:30 -0500 |
commit | 91df005212363108f4deb31dc0fc81e2424547ce (patch) | |
tree | 51666cad37a262c8d82b5391a1ab668fe7d63d3e /uploader/authorisation.py | |
parent | 34161e8f6147120eae6530d9de501b0866bb84c6 (diff) | |
download | gn-uploader-91df005212363108f4deb31dc0fc81e2424547ce.tar.gz |
Fix issues caught by linter.
Diffstat (limited to 'uploader/authorisation.py')
-rw-r--r-- | uploader/authorisation.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. " |