mega.py
mega.py copied to clipboard
#TypeError: string indices must be integers
I propose to replace this will remove the error creating the file when compiling
#if (file[1]['a'] and file[1]['t'] and file[1]['a']['n'] == foldername): by #if (isinstance (file[1]['a'], dict) and file[1]['t'] and file[1]['a']['n'] == foldername):
I propose a similar solution with different syntax. Check my comment on the issue.