Update index.py
This commit is contained in:
parent
bc8c455094
commit
e6ec8b65ce
|
|
@ -242,7 +242,7 @@ def cleanDirLog(path):
|
|||
def cleanRun():
|
||||
plugin_dir = getPluginDir()
|
||||
log_file = getServerDir()+'/clean.log'
|
||||
cmd = 'cd '+plugin_dir+' && python3 '+plugin_dir+'/index.py clean > '+log_file
|
||||
cmd = 'cd '+mw.getPanelDir()+' && python3 '+plugin_dir+'/index.py clean > '+log_file
|
||||
os.system(cmd)
|
||||
return mw.returnJson(True, '执行成功!')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue