Avoid empty search location first by using . the current directory

This commit is contained in:
Renato Alves
2025-11-10 19:23:58 +01:00
parent 83053c4024
commit 9114470839

View File

@@ -282,7 +282,7 @@ def load_libnss():
"""Load libnss into python using the CDLL interface"""
locations: list[str] = [
os.environ.get("NSS_LIB_PATH", ""),
os.environ.get("NSS_LIB_PATH", "."),
]
if SYSTEM == "Windows":