mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
no message
This commit is contained in:
parent
1efaf048f5
commit
7c63b7c062
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue