no message

This commit is contained in:
Sakura-RanChen
2025-05-14 16:50:15 +08:00
parent 1efaf048f5
commit 7c63b7c062
@@ -154,7 +154,6 @@ def get_weather(conn, location: str = None, lang: str = "zh_CN"):
api_host = conn.config["plugins"]["get_weather"]["api_host"]
api_key = conn.config["plugins"]["get_weather"]["api_key"]
default_location = conn.config["plugins"]["get_weather"]["default_location"]
print(api_host,api_key)
client_ip = conn.client_ip
# 优先使用用户提供的location参数
if not location: