Skip to content

Commit

Permalink
bug: handle subfolder missing in image output
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheng committed Oct 9, 2024
1 parent 44e1dd8 commit 0bbd61e
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 0bbd61e

Please sign in to comment.