summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-04-07 15:35:59 +0200
committerOskar Nyberg <oskar@mullvad.net>2022-04-07 15:35:59 +0200
commit66ff8978f94d4ad1c8c45872de9f540cbcbcf612 (patch)
treed3a2b7770d63e1112c7645b12f2a9baf8f89e28c /gui/scripts
parent74ec2b59d1fa20604973f1bd4e5cd503631c2365 (diff)
parent2692d0f31040d89f807a4495f1dd9f2c60ced15c (diff)
downloadmullvadvpn-66ff8978f94d4ad1c8c45872de9f540cbcbcf612.tar.xz
mullvadvpn-66ff8978f94d4ad1c8c45872de9f540cbcbcf612.zip
Merge branch 'prevent-translating-technical-terms'
Diffstat (limited to 'gui/scripts')
-rwxr-xr-xgui/scripts/extract-geo-data.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/gui/scripts/extract-geo-data.py b/gui/scripts/extract-geo-data.py
index 2198a6f7e0..5e9427bd35 100755
--- a/gui/scripts/extract-geo-data.py
+++ b/gui/scripts/extract-geo-data.py
@@ -141,10 +141,11 @@ def structure_locations(locations):
country = countries[country_code]
cities = country["cities"]
- if city_code not in cities:
- cities[city_code] = city_name
- else:
- print("There are multiple entries for {} in {}".format(city_name, country_name))
+ if location_key != "se-bet":
+ if city_code not in cities:
+ cities[city_code] = city_name
+ else:
+ print("There are multiple entries for {} in {}".format(city_name, country_name))
return countries