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>"]