Skip to content

Commit

Permalink
Fix: pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Aug 2, 2024
1 parent 3de9817 commit 980d624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comiccrawler/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def balance(s: str, index: int, left="(", right=")", skip=0):

return s[start:end]

def get_cookie(cookieJar: RequestsCookieJar, name, domain=None) -> str:
l = [cookie for cookie in cookieJar if cookie.name == name]
def get_cookie(cookie_jar: RequestsCookieJar, name, domain=None) -> str:
l = [cookie for cookie in cookie_jar if cookie.name == name]
def key(cookie):
if not domain or not cookie.domain:
return 0
Expand Down

0 comments on commit 980d624

Please sign in to comment.