Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdgg committed Aug 1, 2024
1 parent 88eb5e2 commit 7ee3369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_xjie_weather/wx_info/amap.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def amap_get_adcode(self, city_name: str, key: str) -> List:
get_place_url = f'{placen_url}?key={key}&city={city_name}&address={city_name}&output=JSON'
gd_city_adcode = await self.__fetch_data(get_place_url)
if gd_city_adcode is None:
print(ValueError("Failed to send request"))
# print(ValueError("Failed to send request"))
return ["error", "获取城市编码失败"]
coding_json = gd_city_adcode.json()
xiangy = coding_json.get('status')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-plugin-xjie-weather"
version = "1.1.14"
version = "1.1.15"

description = "A little weather plugin"
authors = ["AwAjie <[email protected]>"]
Expand Down

0 comments on commit 7ee3369

Please sign in to comment.