Update index.py

This commit is contained in:
midoks
2023-10-23 16:19:17 +08:00
parent b31c49ac11
commit e86707d752
+1 -1
View File
@@ -142,7 +142,7 @@ def redisOp(method):
return 'ok'
return data[1]
data = mw.execShell('systemctl ' + method + ' redis')
data = mw.execShell('systemctl ' + method + ' ' + getPluginName())
if data[1] == '':
return 'ok'
return data[1]