Skip to content

Commit

Permalink
Adjust import path to new path
Browse files Browse the repository at this point in the history
  • Loading branch information
elicn committed Sep 19, 2024
1 parent f573356 commit 5cc2d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/unicorn/unicorn_py3/unicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _load_lib(path: Path, lib_name: str):
lib_locations = [
os.getenv('LIBUNICORN_PATH'),
pkg_resources.resource_filename(__name__, 'lib'),
PurePath(inspect.getfile(__load_uc_lib)).parent.parent / 'lib',
PurePath(inspect.getfile(__load_uc_lib)).parent / 'lib',
'',
r'/usr/local/lib' if sys.platform == 'darwin' else r'/usr/lib64',
] + [PurePath(p) / 'unicorn' / 'lib' for p in sys.path]
Expand Down

0 comments on commit 5cc2d80

Please sign in to comment.