diff --git a/km3buu/output.py b/km3buu/output.py index 5d89d83922c00290e0240cdc550e5809b190469b..c15df73d4a5705cee062951d16baa840e436d97a 100644 --- a/km3buu/output.py +++ b/km3buu/output.py @@ -31,7 +31,7 @@ from .config import Config, read_default_media_compositions try: import ROOT libpath = environ.get("KM3NET_LIB") - if libpath: + if libpath is None: libpath = Config().km3net_lib_path if ROOT.gSystem.Load(join(libpath, "libKM3NeTROOT.so")) != 0: raise ModuleNotFoundError("KM3NeT dataformat library not found!")