fix deprecation warning in color.py
This commit is contained in:
parent
2e939dbc1b
commit
1130a9343d
@ -144,7 +144,7 @@ def setup(conf, force_colors=False):
|
||||
|
||||
|
||||
# undye
|
||||
undye_re = re.compile('\x1b\\[[;\d]*[A-Za-z]')
|
||||
undye_re = re.compile('\x1b\\[[;\\d]*[A-Za-z]')
|
||||
|
||||
def undye(s):
|
||||
"""Purge string s of color"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user