Skip to content
Snippets Groups Projects
Commit 5d4ffcc8 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

fix finding local ifo.yaml in budget package

parent ccd92ee6
No related branches found
No related tags found
No related merge requests found
Pipeline #127762 passed
......@@ -85,7 +85,7 @@ def load_budget(name_or_path):
Budget = getattr(mod, bname)
ifopath = os.path.join(modpath, 'ifo.yaml')
if not ifo and ifopath:
if not ifo and os.path.exists(ifopath):
ifo = Struct.from_file(ifopath)
Budget.ifo = ifo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment