|
return get_bundle_versions(name, repo=os.path.join(repo_owner, repo_name), tag=tag_name)["latest_version"] |
On Windows, os.path.join will produce backslash rather than slash. Therefore, the created url will be wrong (os.path.join(repo_owner, repo_name))
May need to handle this to avoid issues for Windows users.
MONAI/monai/bundle/scripts.py
Line 185 in 69463a6
On Windows,
os.path.joinwill produce backslash rather than slash. Therefore, the created url will be wrong (os.path.join(repo_owner, repo_name))May need to handle this to avoid issues for Windows users.