Skip to content

Commit

Permalink
chore: 更新文件
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Dec 5, 2024
1 parent 897504d commit 10e9094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions setDNS.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +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
1 change: 1 addition & 0 deletions setHosts_Classic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from math import floor
import os
import ssl
import sys
Expand Down

0 comments on commit 10e9094

Please sign in to comment.