Site
Gitweb
Static
projects
/
bb-sync-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac24ea
)
Bug fix
author
Jakob
<jakob@jcornell.net>
Sun, 1 Dec 2019 00:27:58 +0000
(18:27 -0600)
committer
Jakob
<jakob@jcornell.net>
Sun, 1 Dec 2019 00:27:58 +0000
(18:27 -0600)
auth.py
patch
|
blob
|
history
diff --git
a/auth.py
b/auth.py
index db0fd7c95d49ca8fac4d01a3491a94ccb492540a..fd0194d6390593c86b3a6253bb7ce7a9a1b98bf1 100644
(file)
--- 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()