fix python 3.7 issue on windows

This commit is contained in:
Naoto Kondo
2022-03-22 18:00:29 +09:00
parent 31e5e24729
commit 088b8f4aaf

View File

@@ -1,6 +1,7 @@
import os import os
import sys
if os.name == 'nt': if os.name == 'nt' and sys.version_info.major >= 3 and sys.version_info.minor >= 8:
os.add_dll_directory(os.path.dirname(__file__)) os.add_dll_directory(os.path.dirname(__file__))
from .NDIlib import * from .NDIlib import *