Skip to content

Commit

Permalink
🐛 Download folder with "skip_download=True" creates an output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
o-laurent authored and wkentaro committed Feb 11, 2024
1 parent b213aba commit b7fdff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdown/download_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def download_folder(
root_dir = osp.join(output, gdrive_file.name)
else:
root_dir = output
if not osp.exists(root_dir):
if not skip_download and not osp.exists(root_dir):
os.makedirs(root_dir)

files = []
Expand Down

0 comments on commit b7fdff6

Please sign in to comment.