Update index.py

pull/701/head
Mr Chen 3 months ago
parent bc8c455094
commit e6ec8b65ce
  1. 2
      plugins/clean/index.py

@ -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…
Cancel
Save