Skip to content

Commit

Permalink
bugfix for warning message (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterSeajay authored Nov 27, 2023
1 parent 9621ca4 commit 1c64bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1c64bb7

Please sign in to comment.