From 956a47adbcaa661bbf04ed26f1e48c600980bfc8 Mon Sep 17 00:00:00 2001 From: Antonio Cordero Balcazar Date: Thu, 5 Sep 2024 19:26:54 +0200 Subject: [PATCH] * Fix process wildcards setting. --- ppp.py | 2 +- scripts/ppp_script.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ppp.py b/ppp.py index baf1859..394b619 100644 --- a/ppp.py +++ b/ppp.py @@ -23,7 +23,7 @@ class PromptPostProcessor: # pylint: disable=too-few-public-methods,too-many-in """ NAME = "Prompt Post-Processor" - VERSION = (2, 5, 1) + VERSION = (2, 5, 2) class IFWILDCARDS_CHOICES(Enum): ignore = "ignore" diff --git a/scripts/ppp_script.py b/scripts/ppp_script.py index b7d0212..e84b05c 100644 --- a/scripts/ppp_script.py +++ b/scripts/ppp_script.py @@ -150,7 +150,7 @@ def process(self, p: StableDiffusionProcessing, *args, **kwargs): # pylint: dis options = { "debug_level": getattr(opts, "ppp_gen_debug_level", DEBUG_LEVEL.none.value), "pony_substrings": getattr(opts, "ppp_gen_ponysubstrings", PromptPostProcessor.DEFAULT_PONY_SUBSTRINGS), - "process_wildcards": getattr(opts, "ppp_wil_process_wildcards", True), + "process_wildcards": getattr(opts, "ppp_wil_processwildcards", True), "if_wildcards": getattr(opts, "ppp_wil_ifwildcards", PromptPostProcessor.IFWILDCARDS_CHOICES.ignore.value), "choice_separator": getattr(opts, "ppp_wil_choice_separator", PromptPostProcessor.DEFAULT_CHOICE_SEPARATOR), "keep_choices_order": getattr(opts, "ppp_wil_keep_choices_order", False),