diff options
author | marc <a01200356@itesm.mx> | 2016-10-31 23:52:08 -0600 |
---|---|---|
committer | marc <a01200356@itesm.mx> | 2016-12-13 19:56:59 -0600 |
commit | 92c6e88ad3e5ba57bd6e2ba64d0c38e8fd72ea09 (patch) | |
tree | 9a9151ddd8dd4d72c71085fe6daa8b494cf4f5c5 /utils | |
parent | 727c287856629cf7c11b87cecbf1b32bb0ca1831 (diff) | |
download | searxng-92c6e88ad3e5ba57bd6e2ba64d0c38e8fd72ea09.tar.gz searxng-92c6e88ad3e5ba57bd6e2ba64d0c38e8fd72ea09.zip |
small fixes
Diffstat (limited to 'utils')
-rw-r--r-- | utils/update_languages.py | 2 |
1 files changed, 2 insertions, 0 deletions
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'\ |