Skip to content

Commit

Permalink
Merge pull request #142 from HSF/dev
Browse files Browse the repository at this point in the history
fix local cfg checks
  • Loading branch information
wguanicedew authored Mar 4, 2023
2 parents 5e83e44 + b83e125 commit 3c026f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/idds/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3c026f4

Please sign in to comment.