Skip to content

Commit

Permalink
Fixed: Overwriting existing platform variable with import.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Aug 28, 2024
1 parent 30163c8 commit 0f84130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comfy_cli/standalone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import platform
import platform as os_platform
import shutil
import subprocess
import tarfile
Expand Down Expand Up @@ -105,7 +105,7 @@ def FromTarball(fpath: PathLike, name: PathLike = "python") -> "StandalonePython

shutil.move(old_rpath, rpath)

if platform.system() == "Windows":
if os_platform.system() == "Windows":
return StandlonePythonWindows(rpath=rpath)
return StandalonePythonUnix(rpath=rpath)

Expand Down

0 comments on commit 0f84130

Please sign in to comment.