mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:39:25 +08:00
Update index.py
This commit is contained in:
@@ -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/>")
|
||||
|
||||
Reference in New Issue
Block a user