From add98f4eeb55bfd39a2e452c68e6d7bafa139103 Mon Sep 17 00:00:00 2001 From: binary-husky Date: Sun, 16 Jul 2023 13:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8D=87=E7=BA=A7Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_proxy.py b/check_proxy.py index 964ae47..fd5e276 100644 --- a/check_proxy.py +++ b/check_proxy.py @@ -117,7 +117,7 @@ def auto_update(raise_error=False): with open('./version', 'r', encoding='utf8') as f: current_version = f.read() current_version = json.loads(current_version)['version'] - if (remote_version - current_version) >= 0.01: + if (remote_version - current_version) >= 0.01-1e-5: from colorful import print亮黄 print亮黄( f'\n新版本可用。新版本:{remote_version},当前版本:{current_version}。{new_feature}')