diff --git a/plugins/redis/index.py b/plugins/redis/index.py index 243bcfcc5..b38adcd32 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -512,7 +512,7 @@ def submitRedisConf(): content = mw.readFile(conf) for g in gets: if g in args: - rep = g + '\s*([.0-9A-Za-z_& ~]+)' + rep = g + r'\s*([.0-9A-Za-z_& ~]+)' val = g + ' ' + args[g] if g == 'maxmemory':