Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Feb 2, 2025
1 parent bc8c455 commit e6ec8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/clean/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, '执行成功!')

Expand Down

0 comments on commit e6ec8b6

Please sign in to comment.