fix filename seq

This commit is contained in:
Vladimir Mandic
2024-09-27 07:48:04 -04:00
parent 470ea10e95
commit 157f581506
+1
View File
@@ -177,6 +177,7 @@ class FilenameGenerator:
return fn
def sequence(self, fn, dirname, basename):
x = fn
if shared.opts.save_images_add_number or '[seq]' in fn:
if '[seq]' not in fn:
fn = os.path.join(os.path.dirname(fn), f"[seq]-{os.path.basename(fn)}")