Skip to content

Commit 3732cd8

Browse files
author
Brian Luk
committed
Fix Windows path/public_id formatting
1 parent 8e198e2 commit 3732cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudinary_cli/modules/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def push(self):
9696
}
9797
uploads = []
9898
for file in to_upload:
99-
folder = path_join(self.remote_dir, sep.join(file.split(sep)[:-1]))
99+
folder = "/".join([self.remote_dir, *split(file)[:-1]])
100100

101101
uploads.append((self.local_files[file]['path'], {**options, 'folder': folder}))
102102

0 commit comments

Comments
 (0)