From 8e4478cc6fd44ba2cff2589344f1f85bd2cfb73f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 13 Apr 2014 09:15:31 +0530 Subject: [PATCH] ... --- src/calibre/spell/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/spell/dictionary.py b/src/calibre/spell/dictionary.py index 766267e364..936427d92a 100644 --- a/src/calibre/spell/dictionary.py +++ b/src/calibre/spell/dictionary.py @@ -27,7 +27,7 @@ not_present = object() 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']