mega.py icon indicating copy to clipboard operation
mega.py copied to clipboard

#TypeError: string indices must be integers

Open Kaelatt opened this issue 4 years ago • 1 comments

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):

Kaelatt avatar Nov 04 '21 14:11 Kaelatt

I propose a similar solution with different syntax. Check my comment on the issue.

yassinerh28 avatar Mar 19 '23 12:03 yassinerh28