mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01: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
@ -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…
Reference in New Issue
Block a user