From 8784182173b6ab96fb0a3a8f4f6c737df7439192 Mon Sep 17 00:00:00 2001 From: CastagnaIT Date: Wed, 20 Sep 2023 17:37:17 +0200 Subject: [PATCH] pylint fixes --- resources/lib/utils/cookies.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/utils/cookies.py b/resources/lib/utils/cookies.py index d4a58450d..6047e6650 100644 --- a/resources/lib/utils/cookies.py +++ b/resources/lib/utils/cookies.py @@ -13,7 +13,6 @@ from time import time import xbmcvfs -from requests.sessions import cookiejar_from_dict from resources.lib.common.exceptions import MissingCookiesError from resources.lib.globals import G @@ -72,7 +71,7 @@ def _find_no_duplicates(self, name, domain=None, path=None): if path is None or cookie.path == path: if to_return is not None: # if there are multiple cookies that meet passed in criteria - raise Exception(f"There are multiple cookies with name, {name!r}") # pylint: disable=broad-except + raise Exception(f"There are multiple cookies with name, {name!r}") # pylint: disable=broad-exception-raised # we will eventually return this as long as no cookie conflict to_return = cookie.value if to_return: