From f4f25b8ab33abc0ca787b33f319306153dffdff9 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 16 Aug 2023 22:20:12 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index 2d184e973..c5c3c9694 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -122,11 +122,7 @@ def mgOp(method): if data[1] == '': return 'ok' return data[1] - - data = mw.execShell(cmd) - if data[1] == '': - return 'ok' - return data[1] + return 'fail' def start():