diff --git a/src/baskerville/helpers/gcs_utils.py b/src/baskerville/helpers/gcs_utils.py index 178db07..af398d0 100644 --- a/src/baskerville/helpers/gcs_utils.py +++ b/src/baskerville/helpers/gcs_utils.py @@ -157,7 +157,7 @@ def upload_folder_gcs(local_dir: str, gcs_dir: str) -> None: """ storage_client = _get_storage_client() bucket_name = gcs_dir.split("//")[1].split("/")[0] - gcs_object_prefix = '/'.join(gcs_dir.split("//")[1].split("/")[1:]) + gcs_object_prefix = "/".join(gcs_dir.split("//")[1].split("/")[1:]) local_prefix = local_dir.split("/")[-1] bucket = storage_client.bucket(bucket_name) for filename in os.listdir(local_dir):