Skip to content

Commit

Permalink
fixed run error where output is None but tries to find images (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
firstfloris authored Sep 13, 2024
1 parent e4468e1 commit b6ac43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy_cli/command/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def on_executed(self, data):

output = data["output"]

if "images" not in output:
if output is None or "images" not in output:
return

for img in output["images"]:
Expand Down

0 comments on commit b6ac43a

Please sign in to comment.