Skip to content

Commit

Permalink
--listen doesn't work on launch command
Browse files Browse the repository at this point in the history
Doing:
```
comfy launch --background -- --listen 0.0.0.0 --cpu
```
doesn't work because of a typo.

Here a small fix.
  • Loading branch information
nvdamien authored Oct 30, 2024
1 parent 6cab8f1 commit 11633fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy_cli/command/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def background_launch(extra):
for i in range(len(extra) - 1):
if extra[i] == "--port":
port = extra[i + 1]
if listen[i] == "--listen":
if extra[i] == "--listen":
listen = extra[i + 1]

if len(extra) > 0:
Expand Down

0 comments on commit 11633fd

Please sign in to comment.