Skip to content

Commit

Permalink
Fix anomalous backlash in string
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Sep 11, 2024
1 parent 01afd94 commit 41eda66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/console_stringifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def replace_per_by_symbol(self, string: str) -> str:
is not the scope of this project for now, we just do a simple replacement
of the `per` that slipped through the above logic.
Note that at this point, `\percent` was already replaced by `%`, so
Note that at this point, `percent` was already replaced by `%`, so
we can safely replace all occurrences of "per" with "/".
"""
return string.replace("per", " / ")

0 comments on commit 41eda66

Please sign in to comment.