Fix missing self. on shared_keys.

This commit is contained in:
Ethan Dalool 2020-03-23 21:21:17 -07:00
parent 09f993405a
commit d29751221c

View file

@ -503,7 +503,7 @@ class Mega:
files_dict = {} files_dict = {}
self._init_shared_keys(files) self._init_shared_keys(files)
for file in files['f']: for file in files['f']:
processed_file = self._process_file(file, shared_keys) processed_file = self._process_file(file, self.shared_keys)
if processed_file['a'] and processed_file['p'] == node_id: if processed_file['a'] and processed_file['p'] == node_id:
files_dict[file['h']] = processed_file files_dict[file['h']] = processed_file
return files_dict return files_dict