1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

formatting

This commit is contained in:
Kelly Brazil
2022-03-21 13:09:50 -07:00
parent 51ae5ebcac
commit 4eb2d725d5

View File

@ -77,7 +77,7 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
def _remove_ansi(string: str) -> str:
ansi_escape =re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]')
ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]')
return ansi_escape.sub('', string)