mirror of https://github.com/davisking/dlib.git
fix paths
This commit is contained in:
parent
2a3cb83afc
commit
f8887d8cbb
|
@ -8,7 +8,7 @@ def add_lib_to_dll_path(path):
|
|||
"""
|
||||
try:
|
||||
import os
|
||||
os.add_dll_directory(os.path.dirname(path))
|
||||
os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin'))
|
||||
except (AttributeError,KeyError):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue