Forget to init self.users_keys variable

This commit is contained in:
Julien LE JEUNE 2013-02-28 17:26:34 +01:00
parent 6ecbc2c3d5
commit 46e5328b4c

View file

@ -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(