From 92c6e88ad3e5ba57bd6e2ba64d0c38e8fd72ea09 Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 31 Oct 2016 23:52:08 -0600 Subject: small fixes --- utils/update_languages.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') diff --git a/utils/update_languages.py b/utils/update_languages.py index 193c19278..cc3fa29cc 100644 --- a/utils/update_languages.py +++ b/utils/update_languages.py @@ -35,7 +35,9 @@ languages = {} # To filter out invalid codes and dialects. def valid_code(lang_code): # filter invalid codes + # sl-SL is technically not invalid, but still a mistake if lang_code[:2] == 'xx'\ + or lang_code == 'sl-SL'\ or lang_code == 'jw'\ or lang_code[-2:] == 'UK'\ or lang_code[-2:] == 'XA'\ -- cgit v1.2.3-54-g00ecf