From 7ee336962a4e60497102d8219eb01595832a5430 Mon Sep 17 00:00:00 2001 From: AwAjie <139576615+ajdgg@users.noreply.github.com> Date: Fri, 2 Aug 2024 01:44:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_xjie_weather/wx_info/amap.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_xjie_weather/wx_info/amap.py b/nonebot_plugin_xjie_weather/wx_info/amap.py index 67af63b..d9cfa9c 100644 --- a/nonebot_plugin_xjie_weather/wx_info/amap.py +++ b/nonebot_plugin_xjie_weather/wx_info/amap.py @@ -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') diff --git a/pyproject.toml b/pyproject.toml index 8a6bcad..6b5ab65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 <139576615+ajdgg@users.noreply.github.com>"]