diff --git a/setDNS.py b/setDNS.py index df43cf5..9243ef1 100644 --- a/setDNS.py +++ b/setDNS.py @@ -308,8 +308,7 @@ def set_dns_servers(ipv4_dns_list: list[str], ipv6_dns_list: list[str]): continue if ipv4_dns_list: logger.debug( - f"设置IPv4 DNS for {interface}: { - ', '.join(ipv4_dns_list)}" + f"设置IPv4 DNS for {interface}:', '.join(ipv4_dns_list)}" ) try: subprocess.run(