From 83fd8fffd4d4e2607ce884618dd4a9c3b401f35e Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 30 Jul 2024 12:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8B=E8=BD=BD=E9=87=8F?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=84=9A=E6=9C=AC=E5=9B=A0=E6=B2=A1=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEtimeout=E5=AF=BC=E8=87=B4dpkg=E5=8D=A1=E4=BD=8F?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=88https://gitee.com/gfdgd-xi/?= =?UTF-8?q?deep-wine-runner/issues/IAGG16=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Download.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Download.py b/Download.py index ae3bda9..54e87df 100644 --- a/Download.py +++ b/Download.py @@ -10,5 +10,6 @@ with open(f"{programPath}/information.json") as file: version = json.loads(file.read())["Version"] print(requests.get(base64.b64decode("aHR0cHM6Ly9zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdHMvZGVlcC13aW5lLXJ1bm5lci13aW5lLWRvd25sb2FkL2ZpbGVzL2Rvd25sb2FkLXRpbWUv").decode("utf-8") + version - + base64.b64decode("L2Rvd25sb2Fk").decode("utf-8") + + base64.b64decode("L2Rvd25sb2Fk").decode("utf-8"), + timeout=5 # timeout 设置为 5S ).text) \ No newline at end of file