aboutsummaryrefslogtreecommitdiff
path: root/modules/styles.py
diff options
context:
space:
mode:
authorMisterSeajay <cjj1977@users.noreply.github.com>2023-11-27 11:57:27 +0000
committerGitHub <noreply@github.com>2023-11-27 11:57:27 +0000
commit1c64bb71402c2cd62ac98f936203437f0c4fcd02 (patch)
treeb058d763436648a97f70c8a19f148372a3ca5f77 /modules/styles.py
parent9621ca4d64bbe59880d869b923e1572f1475a52b (diff)
bugfix for warning message (#6)
Diffstat (limited to 'modules/styles.py')
-rw-r--r--modules/styles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/styles.py b/modules/styles.py
index 974d3289..e73920c7 100644
--- a/modules/styles.py
+++ b/modules/styles.py
@@ -66,7 +66,7 @@ def unwrap_style_text_from_prompt(style_text, prompt):
except ValueError as e:
# If the style text has multple "{prompt}"s, we can't split it into
# two parts. This is an error, but we can't do anything about it.
- print("Unable to compare style text to prompt:`n{style_text}")
+ print(f"Unable to compare style text to prompt:`n{style_text}")
print(f"Error: {e}")
return False, prompt
if stripped_prompt.startswith(left) and stripped_prompt.endswith(right):