Forget to init self.users_keys variable
This commit is contained in:
parent
6ecbc2c3d5
commit
46e5328b4c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class Mega(object):
|
||||||
def _login_process(self, resp, password):
|
def _login_process(self, resp, password):
|
||||||
encrypted_master_key = base64_to_a32(resp['k'])
|
encrypted_master_key = base64_to_a32(resp['k'])
|
||||||
self.master_key = decrypt_key(encrypted_master_key, password)
|
self.master_key = decrypt_key(encrypted_master_key, password)
|
||||||
|
self.users_keys = dict()
|
||||||
if 'tsid' in resp:
|
if 'tsid' in resp:
|
||||||
tsid = base64_url_decode(resp['tsid'])
|
tsid = base64_url_decode(resp['tsid'])
|
||||||
key_encrypted = a32_to_str(
|
key_encrypted = a32_to_str(
|
||||||
|
|
Loading…
Reference in a new issue