From 55678d7feec42e20a4831131c7dd19529b0170c8 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Wed, 12 Aug 2020 09:09:14 +0200 Subject: [PATCH] Pass string down to FileCookieJar Some python versions just can't handle it *despite the documentation stating they should*. --- PFERD/cookie_jar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/cookie_jar.py b/PFERD/cookie_jar.py index 4c42ef1..e5b568f 100644 --- a/PFERD/cookie_jar.py +++ b/PFERD/cookie_jar.py @@ -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: