From: Jakob Date: Sat, 30 Nov 2019 23:52:13 +0000 (-0600) Subject: Bux fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=e7cdf457ebc28ec45dee1a47bbe2a381ca575145;p=bb-sync-api.git Bux fix --- diff --git a/auth.py b/auth.py index 299dd70..6374b11 100644 --- a/auth.py +++ b/auth.py @@ -254,7 +254,7 @@ class StorageMgrCookieJar(http.cookiejar.CookieJar): self.set_cookie(http.cookiejar.Cookie(**dict_)) def save(self): - lambda fix_dict = lambda d: {k.strip('_'): v for (k, v) in d.items()} + fix_dict = lambda d: {k.strip('_'): v for (k, v) in d.items()} dicts = [fix_dict(c.__dict__) for c in self] self.storage_mgr['cookies'] = dicts