From 9c3f5c34b4720cb9bb7a41e8a2ef1e539d65e569 Mon Sep 17 00:00:00 2001
From: Jean-Michel Picod <jmichel@google.com>
Date: Fri, 13 Mar 2020 15:26:54 +0100
Subject: [PATCH] Incorrect import.

---
 deploy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy.py b/deploy.py
index dbad4c9..486750d 100755
--- a/deploy.py
+++ b/deploy.py
@@ -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)))
-- 
GitLab