Skip to content

Commit 29fae09

Browse files
committed
try to fix luigi's issues
1 parent db973f7 commit 29fae09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

workflow/src/legenddataflow/pars_loading.py

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ def get_par_file(self, setup: dict, timestamp: str, tier: str) -> list:
8181
pars_files = catalog.valid_for(timestamp, allow_none=allow_none)
8282
else:
8383
pars_files = self.valid_for(timestamp, allow_none=allow_none)
84+
if pars_files is None:
85+
pars_files = []
8486

8587
par_overwrite_file = Path(par_overwrite_path(setup)) / tier / "validity.yaml"
8688
overwrite_catalog = ParsCatalog.read_from(par_overwrite_file)

0 commit comments

Comments
 (0)