Skip to content

Commit 4b1a157

Browse files
committed
tools: Fix half-commited block move
1 parent a856067 commit 4b1a157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scc/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,10 @@ def find_library(libname: str) -> ctypes.CDLL:
338338
# Try looking in site-packages of the current environment, pwd and ../pwd
339339
for extension in so_extensions:
340340
search_paths += [
341-
os.path.abspath(os.path.normpath(
342-
os.path.join( site_packages_path, libname + extension ))),
343341
os.path.abspath(os.path.normpath(
344342
os.path.join( base_path, "..", libname + extension ))),
343+
os.path.abspath(os.path.normpath(
344+
os.path.join( base_path, "../..", libname + extension ))),
345345
os.path.abspath(os.path.normpath(
346346
os.path.join( site_packages_path, libname + extension ))),
347347
]

0 commit comments

Comments
 (0)