diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-05-13 15:07:06 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-05-21 12:26:38 +0200 |
| commit | 4cda2100ffa3e96840ac2d6a24c9bb0d5c78b9d1 (patch) | |
| tree | 94adeab992e5bde18e4f2cf4c9bf13df45cb9a4e /gui/scripts | |
| parent | b0ca9c2fc0d59be5d3a5612dadd85fc2d95e8867 (diff) | |
| download | mullvadvpn-4cda2100ffa3e96840ac2d6a24c9bb0d5c78b9d1.tar.xz mullvadvpn-4cda2100ffa3e96840ac2d6a24c9bb0d5c78b9d1.zip | |
Turn generator into a list to make it possible to be printed to console in the case of error
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 046f13175c..36c6867ed9 100644 --- a/gui/scripts/extract-geo-data.py +++ b/gui/scripts/extract-geo-data.py @@ -421,7 +421,7 @@ class PlaceTranslator(object): Returns None when either there is no match or there is no translation for the matched city. """ preferred_locales = (get_locale_language(locale), convert_locale_ident(locale)) - match_prop_keys = ("name_" + x for x in preferred_locales) + match_prop_keys = list("name_" + x for x in preferred_locales) for feat in self.source: props = lower_dict_keys(feat["properties"]) |
