From 674f65306f043729ec30b99dc4ec6018a8fe00d4 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sat, 30 Nov 2019 18:27:58 -0600 Subject: [PATCH] Bug fix --- auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auth.py b/auth.py index db0fd7c..fd0194d 100644 --- a/auth.py +++ b/auth.py @@ -310,6 +310,8 @@ class CookieAuthHandler(urllib.request.HTTPCookieProcessor): with self.parent.open(req) as resp: resp.read() + self.cookiejar.save() + def http_error_401(self, request, fp, code, msg, headers): LOGGER.info("Session cookies missing or expired. Logging in…") self.log_in() -- 2.30.2