Removed un-needed variables process_file()

This commit is contained in:
richard@richard.do 2013-02-07 18:29:16 +00:00
parent 50e565e0bb
commit 7ed5bcee43
2 changed files with 3 additions and 3 deletions

View file

@ -321,8 +321,8 @@ class Mega(object):
key = decrypt_key(base64_to_a32(key), self.master_key) key = decrypt_key(base64_to_a32(key), self.master_key)
if file['t'] == 0: if file['t'] == 0:
k = file['k'] = (key[0] ^ key[4], key[1] ^ key[5], key[2] ^ key[6], key[3] ^ key[7]) k = file['k'] = (key[0] ^ key[4], key[1] ^ key[5], key[2] ^ key[6], key[3] ^ key[7])
iv = file['iv'] = key[4:6] + (0, 0) file['iv'] = key[4:6] + (0, 0)
meta_mac = file['meta_mac'] = key[6:8] file['meta_mac'] = key[6:8]
else: else:
k = file['k'] = key k = file['k'] = key
attributes = base64_url_decode(file['a']) attributes = base64_url_decode(file['a'])