Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2025-10-25 21:34:49 -04:00
parent 9dad506b03
commit cffca11d5b
+1 -1
View File
@@ -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