Skip to content

Commit

Permalink
tools: Fix half-commited block move
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Oct 31, 2024
1 parent a856067 commit 4b1a157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scc/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ def find_library(libname: str) -> ctypes.CDLL:
# Try looking in site-packages of the current environment, pwd and ../pwd
for extension in so_extensions:
search_paths += [
os.path.abspath(os.path.normpath(
os.path.join( site_packages_path, libname + extension ))),
os.path.abspath(os.path.normpath(
os.path.join( base_path, "..", libname + extension ))),
os.path.abspath(os.path.normpath(
os.path.join( base_path, "../..", libname + extension ))),
os.path.abspath(os.path.normpath(
os.path.join( site_packages_path, libname + extension ))),
]
Expand Down

0 comments on commit 4b1a157

Please sign in to comment.