From 02f3a147aae1e2eb5613a1871ee295105ee9950d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 19 May 2024 02:36:34 +0800 Subject: [PATCH] Update index.py --- plugins/sphinx/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sphinx/index.py b/plugins/sphinx/index.py index 026f88e16..0ae17d7b4 100755 --- a/plugins/sphinx/index.py +++ b/plugins/sphinx/index.py @@ -212,7 +212,7 @@ def rebuild(): file = initDreplace() cmd = file + ' rebuild &' data = mw.execShell(cmd) - if data[0].find('successfully'): + if data[0].find('successfully')<0: return data[0].replace("\n","
") return 'ok'