Remove force lowercasing of commands.json

This commit is contained in:
Mark Dietzer
2022-03-29 11:08:37 -07:00
parent 78e99d3e36
commit b2e701d3fd
3 changed files with 3368 additions and 3366 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ def get_version():
def remove_ansi_escape_codes(text):
"""Remove ANSI escape sequences that may be left in the text."""
re_ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
return re_ansi_escape.sub('', str(text)).lower()
return re_ansi_escape.sub('', str(text))
def remove_extra_whitespace(text):