From 1130a9343d14e808725b5224513611bf7d1329a3 Mon Sep 17 00:00:00 2001 From: "Fabien C. Y. Benureau" Date: Sat, 16 Jan 2021 12:46:17 +0900 Subject: [PATCH] fix deprecation warning in color.py --- pubs/color.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubs/color.py b/pubs/color.py index 0e41cf9..7a3ad64 100644 --- a/pubs/color.py +++ b/pubs/color.py @@ -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"""