Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 6, 2024
1 parent 6870dbf commit 736677f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/clean/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, '执行成功!')

Expand Down

0 comments on commit 736677f

Please sign in to comment.