From 99cc99bb513790342d426d6ca432c41bddf38947 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Sat, 28 May 2022 16:12:09 +0800 Subject: [PATCH] Remove shit code #2 --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 3b71b63..18b59e2 100644 --- a/core.py +++ b/core.py @@ -118,7 +118,7 @@ def create_folder(json_data): # 创建文件夹 # path = examle:photo , video.in the Project Folder! def download_file_with_filename(url, filename, path, filepath, json_headers=None): conf = config.getInstance() - configProxy = conf.proxy('switch') + configProxy = conf.proxy() for i in range(configProxy.retry): try: