Pass string down to FileCookieJar

Some python versions just can't handle it *despite the documentation
stating they should*.
This commit is contained in:
I-Al-Istannen 2020-08-12 09:09:14 +02:00
parent a57ee8b96b
commit 55678d7fee

View File

@ -22,7 +22,7 @@ class CookieJar:
if cookie_file is None:
self._cookies = LWPCookieJar()
else:
self._cookies = LWPCookieJar(cookie_file)
self._cookies = LWPCookieJar(str(cookie_file.resolve()))
@property
def cookies(self) -> LWPCookieJar: