mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Make check-weblate.py less brittle
This commit is contained in:
parent
c358802331
commit
c43586e088
2 changed files with 7 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue