Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
7e942ba9
Unverified
Commit
7e942ba9
authored
Feb 18, 2022
by
Ryan_Huang
Committed by
GitHub
Feb 18, 2022
Browse files
Update __init__.py.in (#2515)
parent
7be763d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/python/dlib/__init__.py.in
tools/python/dlib/__init__.py.in
+1
-1
No files found.
tools/python/dlib/__init__.py.in
View file @
7e942ba9
...
@@ -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':
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment