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)