From 43f713ea212d5d8b694250e730b9fe0a4e6a83d5 Mon Sep 17 00:00:00 2001 From: Henry <2671230065@qq.com> Date: Thu, 8 Feb 2024 21:51:48 +0800 Subject: [PATCH] feat: don't pop up aria2 window --- gui/download2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/download2.py b/gui/download2.py index 218edd3..f58cc9b 100644 --- a/gui/download2.py +++ b/gui/download2.py @@ -215,7 +215,7 @@ def switchpauseresume(button): root = ttk.Window(title='乐读视频下载器-下载', themename="morph") root.geometry("") if now==1: - aria2process = subprocess.Popen([aria2_path, "--conf-path", aria2_config]) + aria2process = subprocess.Popen([aria2_path, "--conf-path", aria2_config], shell=True) time.sleep(1) jsonrpc = Aria2RPC() lecturers = get_lecturers(course_list, user_id, access_token)