Incorrect import.

This commit is contained in:
Jean-Michel Picod
2020-03-13 15:26:54 +01:00
parent 1768934402
commit 9c3f5c34b4

View File

@@ -528,7 +528,7 @@ class OpenSKInstaller:
assert_mandatory_binary("nrfutil")
assert_python_library("intelhex")
assert_python_library("nordicsemi.lister")
nrfutil_version = __import__("nordicsemi").version.NRFUTIL_VERSION
nrfutil_version = __import__("nordicsemi.version").version.NRFUTIL_VERSION
if not nrfutil_version.startswith("6."):
fatal(("You need to install nrfutil python3 package v6.0 or above. "
"Found: {}".format(nrfutil_version)))