Bux fix
authorJakob <jakob@jcornell.net>
Sat, 30 Nov 2019 23:52:13 +0000 (17:52 -0600)
committerJakob <jakob@jcornell.net>
Sat, 30 Nov 2019 23:52:13 +0000 (17:52 -0600)
auth.py

diff --git a/auth.py b/auth.py
index 299dd70d8fbe87e5c54e2ecd9f1b41f05393d166..6374b11bf204ad9384dc0b42368bdd2c001a9b3d 100644 (file)
--- 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