mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-06 23:36:44 +01:00
...
This commit is contained in:
parent
39e75804c7
commit
8e4478cc6f
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
ccodes, ccodemap, country_names = None, None, None
|
||||
def get_codes():
|
||||
global ccodes, ccodemap
|
||||
global ccodes, ccodemap, country_names
|
||||
if ccodes is None:
|
||||
data = cPickle.loads(P('localization/iso3166.pickle', allow_user_override=False, data=True))
|
||||
ccodes, ccodemap, country_names = data['codes'], data['three_map'], data['names']
|
||||
|
|
|
|||
Loading…
Reference in a new issue