From cffca11d5b745301d018c12ca866992d1651fe9d Mon Sep 17 00:00:00 2001 From: vladmandic Date: Sat, 25 Oct 2025 21:34:49 -0400 Subject: [PATCH] fix typo Signed-off-by: vladmandic --- modules/images_namegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/images_namegen.py b/modules/images_namegen.py index 337b5b889..083d3c6b1 100644 --- a/modules/images_namegen.py +++ b/modules/images_namegen.py @@ -81,7 +81,7 @@ class FilenameGenerator: if prompt is not None: self.prompt = prompt else: - self.prompt = p.prompt if p is not None and getattr(p, 'prompt', '') is not '' else '' + self.prompt = p.prompt if p is not None and getattr(p, 'prompt', '') != '' else '' if isinstance(self.prompt, list): self.prompt = ' '.join(self.prompt) self.image = image