mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-18 07:33:16 +08:00
Update weather.py
This commit is contained in:
@@ -47,6 +47,7 @@ def get_ip():
|
||||
|
||||
logging.error("所有IP服务尝试失败")
|
||||
return None
|
||||
|
||||
def get_ip():
|
||||
"""从ip.cn获取当前IP地址"""
|
||||
url = "https://ip.cn/api/index?ip=&type=0"
|
||||
|
||||
Reference in New Issue
Block a user