Skip to content

Commit

Permalink
Fix bug with version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed May 7, 2024
1 parent 1876c45 commit b8fecd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy_cli/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def install(
if repo_dir is not None:
comfy_path = str(repo_dir.working_dir)

if checker.python_version.major < 3.9:
if checker.python_version.major < 3 or checker.python_version.minor < 9:
print(
"[bold red]Python version 3.9 or higher is required to run ComfyUI.[/bold red]"
)
Expand Down

0 comments on commit b8fecd8

Please sign in to comment.