From af4a1d8858b0c1e6c02fd45cd55feabb96b48d00 Mon Sep 17 00:00:00 2001
From: Romain Boman <r.boman@uliege.be>
Date: Mon, 12 Jul 2021 09:00:50 +0200
Subject: [PATCH] fix python 3.7 compatibility

---
 fwk/wutils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fwk/wutils.py b/fwk/wutils.py
index b914d2eb..7383760e 100644
--- a/fwk/wutils.py
+++ b/fwk/wutils.py
@@ -126,8 +126,8 @@ def findbins(modname, dirB=['build','wavesB'], verb=False): # changer wavesB en
 
 def initDLL():
     # For new versions of python, DLLs must be loaded via a specific command
-    import platform, os
-    if 'Windows' in platform.uname():
+    import platform, os, sys
+    if 'Windows' in platform.uname() and sys.version_info.minor >= 8:
         lookfor = ['tbb', 'mkl', 'vtk']
         for k in lookfor:
             for v in os.environ['path'].split(';'):
-- 
GitLab