mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Pass string down to FileCookieJar
Some python versions just can't handle it *despite the documentation stating they should*.
This commit is contained in:
parent
a57ee8b96b
commit
55678d7fee
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class CookieJar:
|
||||||
if cookie_file is None:
|
if cookie_file is None:
|
||||||
self._cookies = LWPCookieJar()
|
self._cookies = LWPCookieJar()
|
||||||
else:
|
else:
|
||||||
self._cookies = LWPCookieJar(cookie_file)
|
self._cookies = LWPCookieJar(str(cookie_file.resolve()))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cookies(self) -> LWPCookieJar:
|
def cookies(self) -> LWPCookieJar:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue