Issue with package from pypi
Opened this issue · 0 comments
rayleandro commented
(github beginner here, I made an account just for this)
I think there's an issue with the package uploaded in pypi. Its version number is 1.0.0 but it doesn't match the code here. Maybe it's outdated? I found a lot of differences, but the main one was in api.py. It causes a bug when uploading a single file.
In the current code, the upload_files function first converts the local filepath to a Path object before calling get_extension. It doesn't do that in the pypi package so it throws an error.
Pypi version:
Github version:
Replacing the source files from pypi with the source files from here fixed the bug.