pyminio icon indicating copy to clipboard operation
pyminio copied to clipboard

Using library from Windows environments is broken because os.path

Open novama opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe. The os.path uses the current OS path separator and rules to adapt its functions. MinIO uses posix format.

Describe the solution you'd like Changing the import from os.path to posixpath will prevent this problem

Describe alternatives you've considered There are no alternetives to prevent the problem to happen in Windows environments.

Additional context Example of a test execution from Windows: image

novama avatar Aug 11 '24 20:08 novama