diff --git a/plugins/redis/index.py b/plugins/redis/index.py index fc39f3997..f9c7fa4f4 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'] + ')\s*([.0-9A-Za-z_& ~]+)' + rep = "^(" + g['name'] + r')\s*([.0-9A-Za-z_& ~]+)' tmp = re.search(rep, content, re.M) if not tmp: if g['must_show'] == 0: