Skip to content

Commit

Permalink
Fixed: URLs need forward slashes (#166)
Browse files Browse the repository at this point in the history
* Fixed: Windows forms path using backslash when URLs need forward slashes.

* Update.

* Remove unused dependency.
  • Loading branch information
robinjhuang authored Aug 28, 2024
1 parent 2ce5e92 commit 9a31010
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions comfy_cli/standalone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import shutil
import subprocess
import tarfile
Expand Down Expand Up @@ -59,7 +58,7 @@ def download_standalone_python(

name = f"cpython-{version}+{tag}-{target}-{flavor}"
fname = f"{name}.tar.gz"
url = os.path.join(asset_url_prefix, fname)
url = f"{asset_url_prefix}/{fname}"

return download_progress(url, fname, cwd=cwd)

Expand Down

0 comments on commit 9a31010

Please sign in to comment.