From 46e5328b4c411b27ff90a5503d7e3b27fae3e8e0 Mon Sep 17 00:00:00 2001 From: Julien LE JEUNE Date: Thu, 28 Feb 2013 17:26:34 +0100 Subject: [PATCH] Forget to init self.users_keys variable --- mega/mega.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mega/mega.py b/mega/mega.py index 90b497b..47bd73a 100644 --- a/mega/mega.py +++ b/mega/mega.py @@ -38,6 +38,7 @@ class Mega(object): def _login_process(self, resp, password): encrypted_master_key = base64_to_a32(resp['k']) self.master_key = decrypt_key(encrypted_master_key, password) + self.users_keys = dict() if 'tsid' in resp: tsid = base64_url_decode(resp['tsid']) key_encrypted = a32_to_str(