Skip to content

Commit 8784182

Browse files
committed
pylint fixes
1 parent df9cf16 commit 8784182

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/lib/utils/cookies.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from time import time
1414

1515
import xbmcvfs
16-
from requests.sessions import cookiejar_from_dict
1716

1817
from resources.lib.common.exceptions import MissingCookiesError
1918
from resources.lib.globals import G
@@ -72,7 +71,7 @@ def _find_no_duplicates(self, name, domain=None, path=None):
7271
if path is None or cookie.path == path:
7372
if to_return is not None:
7473
# if there are multiple cookies that meet passed in criteria
75-
raise Exception(f"There are multiple cookies with name, {name!r}") # pylint: disable=broad-except
74+
raise Exception(f"There are multiple cookies with name, {name!r}") # pylint: disable=broad-exception-raised
7675
# we will eventually return this as long as no cookie conflict
7776
to_return = cookie.value
7877
if to_return:

0 commit comments

Comments
 (0)