优化天气插件

This commit is contained in:
liuwei
2025-05-22 11:41:14 +08:00
parent 48a9491921
commit 5b99a4fbc6

View File

@@ -206,7 +206,7 @@ class WeatherPlugin(MessagePluginInterface):
except Exception as e:
self.LOG.error(f"获取天气信息出错: {e}")
return f"\n⚠️获取天气信息出错: {str(e)}"
return ""
def _compose_weather_message(self, country, adm1, adm2, now_weather_api_json, weather_forecast_api_json):
"""组合天气信息"""