Skip to content

Commit

Permalink
bug: handle subfolder missing in image output (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheng authored Oct 22, 2024
1 parent 1760cad commit 03e78bb
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 @@ -190,7 +190,7 @@ def log_node(self, type, node_id):

def format_image_path(self, img):
filename = img["filename"]
subfolder = img["subfolder"]
subfolder = img["subfolder"] if "subfolder" in img else None
output_type = img["type"] or "output"

if self.local_paths:
Expand Down

0 comments on commit 03e78bb

Please sign in to comment.