Merge pull request #1645 from Doridian/fix/no-lowercase-commands-json

Remove force lowercasing of commands.json
This commit is contained in:
Iceman authored and GitHub committed 2022-03-30 18:04:00 +02:00
commit 8ccda0ea91
3 files changed
+3368 -3366

No files matched your search

+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):