Skip to content

Commit b4f60d2

Browse files
author
Tatjana Damnjanović
committed
remote folder full path fix on Windows
1 parent 29140ce commit b4f60d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

solvebio/cli/data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ def _upload_folder(
163163

164164
remote_folder_full_path = os.path.join(base_remote_path, local_parent_path)
165165

166+
if os.name == "nt":
167+
remote_folder_full_path = os.path.join(base_remote_path, local_parent_path.replace("\\", "/"))
168+
166169
# Create folders
167170
for folder in folders:
168171
new_folder_path = os.path.join(abs_local_parent_path, folder)

0 commit comments

Comments
 (0)