From 8f6af4ed651cdb4456e2f3474d05dd3a18086ac2 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Sat, 22 Oct 2022 22:32:26 +0900 Subject: [PATCH] remove lowercasing file_decoration as it is not needed anymore --- modules/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/images.py b/modules/images.py index 898b065b..321439e3 100644 --- a/modules/images.py +++ b/modules/images.py @@ -467,7 +467,7 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i file_decoration = opts.samples_filename_pattern or "[seed]-[prompt_spaces]" if file_decoration != "": - file_decoration = "-" + file_decoration.lower() + file_decoration = "-" + file_decoration file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix