summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-03-19 10:39:27 +0100
committerAndrej Mihajlov <and@mullvad.net>2021-03-22 08:27:02 +0100
commit522c5a157e938c6d40f14d2a317e7cfb726d944b (patch)
treec70b832a36b246c30415de48da9e53ab29560bd9 /gui/scripts
parent0d64acec71ad2af95dc9b4f141e5d7c204945bb6 (diff)
downloadmullvadvpn-522c5a157e938c6d40f14d2a317e7cfb726d944b.tar.xz
mullvadvpn-522c5a157e938c6d40f14d2a317e7cfb726d944b.zip
Flip import order to fix the crash in Fiona
Reported in https://github.com/Toblerity/Shapely/issues/1107
Diffstat (limited to 'gui/scripts')
-rwxr-xr-x[-rw-r--r--]gui/scripts/extract-geo-data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/scripts/extract-geo-data.py b/gui/scripts/extract-geo-data.py
index 1b18e792c9..f9e9def1a7 100644..100755
--- a/gui/scripts/extract-geo-data.py
+++ b/gui/scripts/extract-geo-data.py
@@ -13,9 +13,9 @@ from polib import POFile, POEntry
import colorful as c
from terminaltables import AsciiTable
+import fiona
# import order is important, see https://github.com/Toblerity/Shapely/issues/553
from shapely.geometry import shape, mapping
-import fiona
SCRIPT_DIR = path.dirname(path.realpath(__file__))