Oops, put import statements after path adjustment

This commit is contained in:
Davis King 2020-06-07 16:59:40 -04:00
parent 7fcb6c285d
commit 7fe355e0ec

View File

@ -1,6 +1,5 @@
from _dlib_pybind11 import * # Copyright (C) 2020 Davis E. King (davis@dlib.net)
from _dlib_pybind11 import __version__, __time_compiled__ # License: Boost Software License See LICENSE.txt for the full license.
try: try:
import os import os
@ -9,3 +8,6 @@ try:
os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin')) os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin'))
except (AttributeError,KeyError): except (AttributeError,KeyError):
pass pass
from _dlib_pybind11 import *
from _dlib_pybind11 import __version__, __time_compiled__