remove lowercasing file_decoration as it is not needed anymore

This commit is contained in:
w-e-w 2022-10-22 22:32:26 +09:00 committed by AUTOMATIC1111
parent 00952fb4a8
commit 8f6af4ed65

View File

@ -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]" file_decoration = opts.samples_filename_pattern or "[seed]-[prompt_spaces]"
if file_decoration != "": if file_decoration != "":
file_decoration = "-" + file_decoration.lower() file_decoration = "-" + file_decoration
file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix