Skip to content

Commit

Permalink
Fix for pushing subfolder structures on Windows (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWilkie authored Feb 13, 2024
1 parent e918312 commit 2f0cccd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion darwin/dataset/remote_dataset_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ def push(
if is_relative_to(found_file, source_file)
]
if source_files:
local_path = str(found_file.relative_to(source_files[0]).parent)
local_path = str(
found_file.relative_to(source_files[0]).parent.as_posix()
)
uploading_files.append(
LocalFile(
found_file,
Expand Down

0 comments on commit 2f0cccd

Please sign in to comment.