mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use common name as country name
This commit is contained in:
parent
12b2de5d06
commit
98343d3720
@ -923,7 +923,7 @@ class ISO3166(ISO639): # {{{
|
||||
if two:
|
||||
two = unicode_type(two)
|
||||
codes.add(two)
|
||||
name_map[two] = x.get('name')
|
||||
name_map[two] = x.get('common_name') or x.get('name')
|
||||
if name_map[two]:
|
||||
name_map[two] = unicode_type(name_map[two])
|
||||
three = x.get('alpha_3')
|
||||
|
Loading…
x
Reference in New Issue
Block a user