diff options
Diffstat (limited to 'gui/scripts')
| -rw-r--r-- | gui/scripts/extract-geo-data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/scripts/extract-geo-data.py b/gui/scripts/extract-geo-data.py index c35ff72c75..0597fb0c49 100644 --- a/gui/scripts/extract-geo-data.py +++ b/gui/scripts/extract-geo-data.py @@ -510,7 +510,7 @@ def map_locale(locale_ident): """ Map the locale in Natural Earth Data with the locale in the app and Crowdin """ - if LOCALE_MAPPING.has_key(locale_ident): + if locale_ident in LOCALE_MAPPING: locale_override = LOCALE_MAPPING[locale_ident] else: locale_override = locale_ident |
