From cb84a7d0d9a5dcf293793704216826cf032f95b0 Mon Sep 17 00:00:00 2001 From: ElapsingDreams <159739277+ElapsingDreams@users.noreply.github.com> Date: Thu, 8 Aug 2024 16:41:23 +0800 Subject: [PATCH] Add Dev judgment --- src/plugins/liteyuki_weather/qweather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/liteyuki_weather/qweather.py b/src/plugins/liteyuki_weather/qweather.py index 709e52ee..0be60f10 100644 --- a/src/plugins/liteyuki_weather/qweather.py +++ b/src/plugins/liteyuki_weather/qweather.py @@ -94,7 +94,8 @@ async def get_weather_now_card(matcher: Matcher, event: T_MessageEvent, keyword: "weatherHourly": weather_hourly, "aqi" : aqi, "location" : location_data.dump(), - "localization" : get_local_data(ulang.lang_code) + "localization" : get_local_data(ulang.lang_code), + "is_dev": 1 if is_dev else 0 } }, )