mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 15:20:44 +08:00
🐛 fix #17 手动运行出错
This commit is contained in:
parent
d3ffc4b514
commit
c74919496f
@ -168,7 +168,9 @@ def run_script_now():
|
||||
return "未登录"
|
||||
task_index = request.args.get("task_index", "")
|
||||
command = [PYTHON_PATH, "-u", SCRIPT_PATH, CONFIG_PATH, task_index]
|
||||
logging.info(f">>> 手动运行任务{task_index+1}")
|
||||
logging.info(
|
||||
f">>> 手动运行任务{int(task_index)+1 if task_index.isdigit() else 'all'}"
|
||||
)
|
||||
|
||||
def generate_output():
|
||||
process = subprocess.Popen(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user