mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-25 18:30:23 +00:00
*** empty log message ***
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2318 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
569fa853a8
commit
e71e6fb281
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ def get_headers_lang (headers):
|
|||
except ValueError:
|
||||
pass
|
||||
pref_languages.append((pref, lang))
|
||||
languages = [x[1] for x in sorted(pref_languages)]
|
||||
pref_languages.sort()
|
||||
languages = [x[1] for x in pref_languages]
|
||||
# search for lang
|
||||
for lang in languages:
|
||||
if lang in supported_languages:
|
||||
|
|
|
|||
Loading…
Reference in a new issue