Update index.py

pull/587/head
Mr Chen 11 months ago
parent 6870dbf711
commit 736677fdc6
  1. 3
      plugins/clean/index.py

@ -206,12 +206,9 @@ def cleanDirLog(path):
def cleanRun():
# cleanLog()
plugin_dir = getPluginDir()
# print(plugin_dir)
log_file = getServerDir()+'/clean.log'
cmd = 'python3 '+plugin_dir+'/index.py clean > '+log_file
# print(cmd)
os.system(cmd)
return mw.returnJson(True, '执行成功!')

Loading…
Cancel
Save