Skip to content

Commit

Permalink
fix folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lruizcalico committed Oct 25, 2023
1 parent 9e62f9c commit f946c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/baskerville/helpers/gcs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def download_rename_inputs(filepath: str, temp_dir: str, is_dir: bool = False) -
download_folder_from_gcs(filepath, temp_dir)
dir_name = filepath.split("/")[-1]
os.makedirs(f"{temp_dir}/{dir_name}", exist_ok=True)
return f"{temp_dir}/{dir_name}"
return temp_dir
else:
_, filename = split_gcs_uri(filepath)
if "/" in filename:
Expand Down

0 comments on commit f946c43

Please sign in to comment.