diff --git a/drive-download.py b/drive-download.py index 7e49c46..e1c2b8f 100644 --- a/drive-download.py +++ b/drive-download.py @@ -20,7 +20,7 @@ for file1 in file_list: if file1['mimeType'] == 'application/vnd.google-apps.folder': continue local_filename = file1['title'] - print(local_filename) + print(shlex.quote(local_filename)) if not os.path.exists(local_filename): file1.GetContentFile(local_filename) else: