From 17ee5aa4a852905ebc707f09f4768e45df336cde Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 19 Jun 2022 18:09:32 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index a56fe9757..c4fa6346e 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -418,7 +418,7 @@ def myOp(version, method): if initData == 0: initMysqlPwd() - data = mw.execShell('systemctl ' + method + ' mysql') + mw.execShell('systemctl ' + method + ' mysql') return 'ok' except Exception as e: return str(e) @@ -452,7 +452,7 @@ def my8cmd(version, method): time.sleep(3) my8cmd(version, method) else: - data = mw.execShell('systemctl ' + method + ' mysql') + mw.execShell('systemctl ' + method + ' mysql') return 'ok' except Exception as e: