From f5f9064c52b8678bb26ae399986810fc9ed3c734 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Jul 2024 13:45:08 +0800 Subject: [PATCH] Update index.py --- plugins/redis/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/redis/index.py b/plugins/redis/index.py index f9c7fa4f4..243bcfcc5 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -482,7 +482,7 @@ def getRedisConfInfo(): result = [] for g in gets: - rep = "^(" + g['name'] + r')\s*([.0-9A-Za-z_& ~]+)' + rep = r"^(" + g['name'] + r')\s*([.0-9A-Za-z_& ~]+)' tmp = re.search(rep, content, re.M) if not tmp: if g['must_show'] == 0: