We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50320bd commit 93cac2eCopy full SHA for 93cac2e
1 file changed
python/trinsicokapi/wrapper.py
@@ -45,8 +45,7 @@ def find_native_lib() -> str:
45
return lib_path
46
lib_name = "okapi"
47
# Allow for manual override and then manually check, since LINUX Python doesn't always work. :(
48
- found_lib_path = _check_path(os.getenv('LD_LIBRARY_PATH', ''), lib_name) \
49
- or find_library(lib_path)
+ found_lib_path = _check_path(os.getenv('LD_LIBRARY_PATH', ''), lib_name) or find_library(lib_name)
50
return found_lib_path
51
52
0 commit comments