Make check-weblate.py less brittle

This commit is contained in:
Micah Lee 2023-09-04 20:16:44 -07:00
parent c358802331
commit c43586e088
2 changed files with 7 additions and 2 deletions

View file

@ -50,7 +50,8 @@ async def app_percent_output(percent_min, percent_max=101):
out = []
for lang_code in languages:
if (
app_translations[lang_code] >= percent_min
lang_code in app_translations
and app_translations[lang_code] >= percent_min
and app_translations[lang_code] < percent_max
):
out.append(