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
1 changed files with 5 additions and 3 deletions

View File

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