Closed xbudy closed 2 years ago
This was the issue
File "/path/mega.py", line 307, in find_path_descriptor and file[1]['a']['n'] == foldername): TypeError: string indices must be integers
So we need to check first that file[1]['a'] is a dictionary by adding :
if type(file[1]['a'])==type({}):
This was the issue
File "/path/mega.py", line 307, in find_path_descriptor and file[1]['a']['n'] == foldername): TypeError: string indices must be integers
So we need to check first that file[1]['a'] is a dictionary by adding :
if type(file[1]['a'])==type({}):