lint
This commit is contained in:
parent
7acd6bcf4f
commit
e088987c1d
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@ import binascii
|
||||||
import random
|
import random
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
### Python3 compatibility
|
# Python3 compatibility
|
||||||
if sys.version_info < (3, ):
|
if sys.version_info < (3, ):
|
||||||
|
|
||||||
def makebyte(x):
|
def makebyte(x):
|
||||||
|
|
|
@ -59,7 +59,8 @@ class Mega(object):
|
||||||
a32_to_base64(encrypt_key(master_key, password_key)),
|
a32_to_base64(encrypt_key(master_key, password_key)),
|
||||||
'ts':
|
'ts':
|
||||||
base64_url_encode(
|
base64_url_encode(
|
||||||
a32_to_str(session_self_challenge) + a32_to_str(encrypt_key(session_self_challenge, master_key))
|
a32_to_str(session_self_challenge) +
|
||||||
|
a32_to_str(encrypt_key(session_self_challenge, master_key))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue