Add Dev judgment

This commit is contained in:
ElapsingDreams 2024-08-08 16:41:23 +08:00 committed by GitHub
parent 25f7540f86
commit cb84a7d0d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,8 @@ async def get_weather_now_card(matcher: Matcher, event: T_MessageEvent, keyword:
"weatherHourly": weather_hourly, "weatherHourly": weather_hourly,
"aqi" : aqi, "aqi" : aqi,
"location" : location_data.dump(), "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
} }
}, },
) )