Unverified Commit 7e942ba9 authored by Ryan_Huang's avatar Ryan_Huang Committed by GitHub
Browse files

Update __init__.py.in (#2515)

parent 7be763d6
...@@ -9,7 +9,7 @@ def add_lib_to_dll_path(path): ...@@ -9,7 +9,7 @@ def add_lib_to_dll_path(path):
try: try:
import os import os
os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin')) os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin'))
except (AttributeError,KeyError): except (AttributeError,KeyError,FileNotFoundError):
pass pass
if '@DLIB_USE_CUDA@' == 'ON': if '@DLIB_USE_CUDA@' == 'ON':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment