Fixes 'list indices must be integers or slices, not str' error when uploading a duplicate file. execute_query returns a list, so accessing existing_file['file_id'] caused TypeError. Now uses execute_query_single which returns a single dict row.
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
2.2.17
|