From 8c00659d3ebbf282ddd1a40e5c43f971a700e65a Mon Sep 17 00:00:00 2001 From: tmaeno Date: Sat, 4 Mar 2023 00:11:44 +0100 Subject: [PATCH] fixed for panda server on almalinux9 --- common/lib/idds/common/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/idds/common/config.py b/common/lib/idds/common/config.py index 5cd489e4..60212b7f 100644 --- a/common/lib/idds/common/config.py +++ b/common/lib/idds/common/config.py @@ -227,7 +227,7 @@ def get_config(): if not __HAS_CONFIG: local_cfg = get_local_cfg_file() - if os.path.exists(local_cfg): + if local_cfg and os.path.exists(local_cfg): __CONFIG.read(local_cfg) __HAS_CONFIG = True else: