mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-15 07:03:16 +08:00
更新 main.py
This commit is contained in:
@@ -54,7 +54,7 @@ def Get_ipv4_address(): # 获取当前的IP地址
|
||||
if filtered_ips:
|
||||
return filtered_ips[0]
|
||||
else:
|
||||
return "IPv4获取失败"
|
||||
return "地址获取失败"
|
||||
except subprocess.CalledProcessError as e:
|
||||
logging.error("获取IPv4地址失败: %s", e)
|
||||
return "获取失败"
|
||||
|
||||
Reference in New Issue
Block a user