bugfix for warning message (#6)

* bugfix for warning message

* bugfix error message
This commit is contained in:
MisterSeajay 2023-11-27 12:03:42 +00:00 committed by GitHub
parent 1c64bb7140
commit a75314b41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(f"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):