Update index.py

This commit is contained in:
dami
2025-07-21 20:02:08 +08:00
parent b410f782e6
commit 282a5451f8
+1 -2
View File
@@ -195,8 +195,7 @@ def reload():
def rebuild():
file = initDreplace()
cmd = file + ' rebuild'
cmd = 'indexer --all --rotate'
data = mw.execShell(cmd)
if data[0].find('successfully')<0:
return data[0].replace("\n","<br/>")