mirror of https://github.com/davisking/dlib.git
Update __init__.py.in (#2515)
This commit is contained in:
parent
7be763d65e
commit
7e942ba989
|
@ -9,7 +9,7 @@ def add_lib_to_dll_path(path):
|
|||
try:
|
||||
import os
|
||||
os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin'))
|
||||
except (AttributeError,KeyError):
|
||||
except (AttributeError,KeyError,FileNotFoundError):
|
||||
pass
|
||||
|
||||
if '@DLIB_USE_CUDA@' == 'ON':
|
||||
|
|
Loading…
Reference in New Issue