From 8a61a5470c0dad9b73910e318f3e451d4f5efc9f Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Mon, 19 May 2025 06:29:54 +0300 Subject: [PATCH] Resolve Python regex library warnings (#4012) * Resolve Python regex library warnings Signed-off-by: Emmanuel Ferdman * Add CONTRIBUTORS Signed-off-by: Emmanuel Ferdman --- CONTRIBUTORS | 1 + qt/tools/color_svg.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 800b55e1c..e8814bf93 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -229,6 +229,7 @@ Yaoliang Chen KolbyML Adnane Taghi Spiritual Father +Emmanuel Ferdman ******************** diff --git a/qt/tools/color_svg.py b/qt/tools/color_svg.py index bcf9331f8..b9b0520b4 100644 --- a/qt/tools/color_svg.py +++ b/qt/tools/color_svg.py @@ -38,7 +38,7 @@ with open(input_path, "r") as f: if "fill" in data: data = re.sub(r"fill=\"#.+?\"", f'fill="{color[mode]}"', data) else: - data = re.sub(r"