From 35f62b9abf93b3c8fc459d37dc91d91b47619a98 Mon Sep 17 00:00:00 2001 From: Sinspired <63581268+sinspired@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:03:29 +0800 Subject: [PATCH] Update setDNS.py --- setDNS.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setDNS.py b/setDNS.py index 1bb3158..df43cf5 100644 --- a/setDNS.py +++ b/setDNS.py @@ -208,8 +208,7 @@ def find_available_dns(args) -> tuple[dict, dict]: domain_resolutions[domain][server] = ips logger.debug( - f"{ip_version.upper()} DNS {server} ({ - region} - {provider}) 成功率 {success_rate:.2%}, 平均延迟 {avg_response_time:.2f}ms" + f"{ip_version.upper()} DNS {server} ({region} - {provider}) 成功率 {success_rate:.2%}, 平均延迟 {avg_response_time:.2f}ms" ) except Exception as exc: logger.error(f"{server} 测试出错: {str(exc)}")