diff --git a/pyproject.toml b/pyproject.toml index f360a4b..c48ccaf 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ {name = "Regi E",email = "regi@bynine.io"} ] description = "Simple node to assits with prompting for Pony models" -version = "1.2.0" +version = "1.2.1" license = { file = "LICENSE" } dependencies = [] diff --git a/src/__init__.py b/src/__init__.py index 4c8b5b5..9ebd511 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -228,7 +228,7 @@ class EasyPony: f"{rating}," if rating and not rating_invert else "", ], ) - ).rstrip(",") + ) ) kwargs["SFW"] and prompt_elements.append("(sfw:1.1),") @@ -244,8 +244,8 @@ class EasyPony: self.NEG_EXP.strip() ) - rating_invert and negative_elements.insert(0, rating) - source_invert and negative_elements.insert(0, source) + rating_invert and negative_elements.insert(0, f"{rating},") + source_invert and negative_elements.insert(0, f"{source},") final_prompt = " ".join(prompt_elements).lower() final_negative = f"{self.NEG} {' '.join(negative_elements)}".lower() diff --git a/src/__versions__.py b/src/__versions__.py index 55f7826..62b04c5 100644 --- a/src/__versions__.py +++ b/src/__versions__.py @@ -1 +1 @@ -__VERSION__ = "1.2.0" +__VERSION__ = "1.2.1"