aboutsummaryrefslogtreecommitdiff
path: root/docs/check-weblate.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/check-weblate.py')
-rwxr-xr-xdocs/check-weblate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/check-weblate.py b/docs/check-weblate.py
index 135c4b44..3eb1c052 100755
--- a/docs/check-weblate.py
+++ b/docs/check-weblate.py
@@ -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(