ultimaxxl commited on
Commit
f4e1db8
·
verified ·
1 Parent(s): a68ad53

Update nodes.py

Browse files
Files changed (1) hide show
  1. nodes.py +1 -1
nodes.py CHANGED
@@ -1545,7 +1545,7 @@ class SaveImage:
1545
 
1546
  filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
1547
  file = f"{filename_with_batch_num}_{counter:05}_.png"
1548
- img.save(path, pnginfo=metadata, compress_level=self.compress_level)
1549
  results.append({
1550
  "filename": file,
1551
  "subfolder": subfolder,
 
1545
 
1546
  filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
1547
  file = f"{filename_with_batch_num}_{counter:05}_.png"
1548
+ img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
1549
  results.append({
1550
  "filename": file,
1551
  "subfolder": subfolder,