Skip to content

Commit

Permalink
Update setDNS.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired authored Dec 4, 2024
1 parent 3848920 commit 35f62b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setDNS.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}")
Expand Down

0 comments on commit 35f62b9

Please sign in to comment.