aa
This commit is contained in:
parent
59ef03a59e
commit
65aba280c5
@ -59,7 +59,9 @@ class TCGPlayerService:
|
|||||||
if not os.path.exists('cookies/tcg_cookies.json'):
|
if not os.path.exists('cookies/tcg_cookies.json'):
|
||||||
raise ValueError("Cookies file not found")
|
raise ValueError("Cookies file not found")
|
||||||
with open('cookies/tcg_cookies.json', 'r') as f:
|
with open('cookies/tcg_cookies.json', 'r') as f:
|
||||||
|
logger.debug("Loading cookies from file")
|
||||||
cookies = json.load(f)
|
cookies = json.load(f)
|
||||||
|
logger.debug(f"Loaded cookies: {cookies}")
|
||||||
return cookies
|
return cookies
|
||||||
|
|
||||||
def _insert_groups(self, groups):
|
def _insert_groups(self, groups):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user