quote printed filename
This commit is contained in:
parent
d7c20bc0bc
commit
3be2b27bcc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ for file1 in file_list:
|
||||||
if file1['mimeType'] == 'application/vnd.google-apps.folder':
|
if file1['mimeType'] == 'application/vnd.google-apps.folder':
|
||||||
continue
|
continue
|
||||||
local_filename = file1['title']
|
local_filename = file1['title']
|
||||||
print(local_filename)
|
print(shlex.quote(local_filename))
|
||||||
if not os.path.exists(local_filename):
|
if not os.path.exists(local_filename):
|
||||||
file1.GetContentFile(local_filename)
|
file1.GetContentFile(local_filename)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue