From ddb6b25ac226917fdb36a6c84568cc6540b1b0ce Mon Sep 17 00:00:00 2001 From: Henry Pinkard <7969470+henrypinkard@users.noreply.github.com> Date: Sun, 23 Jun 2024 12:22:26 +0200 Subject: [PATCH] change slashes --- pycromanager/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycromanager/install.py b/pycromanager/install.py index 5b7f6bb6..addb478d 100644 --- a/pycromanager/install.py +++ b/pycromanager/install.py @@ -98,7 +98,7 @@ def download_and_install(destination='auto', mm_install_log_path=None, ci_build= windows = _get_platform() == 'Windows' platform = 'Windows' if windows else 'Mac' installer = 'mm_installer.exe' if windows else 'mm_installer.dmg' - latest_version = _get_download_url(ci_build) + os.sep + _find_versions(ci_build)[0].split(os.sep)[-1] + latest_version = _get_download_url(ci_build) + '/' + _find_versions(ci_build)[0].split('/')[-1] # make a progress bar that updates every 0.5 seconds def bar(curr, total, width): if not hasattr(bar, 'last_update'):