izaakschroeder / vinyl-s3

Use S3 as a source or destination of vinyl files.
20 stars 16 forks source link

Fix path handling on win32 systems #37

Open donpedro opened 3 years ago

donpedro commented 3 years ago

Convert backslashes from win32 paths to slashes, as S3 requires.

donpedro commented 3 years ago

I've been using this for a while, but didn't notice a similar fix on #28 ; my code adds a normalize call and only messes with backslashes if the current separator is a backslash, but otherwise both solutions are basically the same. I can't remember if the normalize was important for my use cases in testing...