Skip to content

Commit

Permalink
Update dagfactory.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxil authored Sep 7, 2024
1 parent d0a30b2 commit fd71548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dagfactory/dagfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ def load_yaml_dags(
suffix = [".yaml", ".yml"]
candidate_dag_files = []
for suf in suffix:
candidate_dag_files = list(chain(
candidate_dag_files, Path(dags_folder).rglob(f"*{suf}")
))
candidate_dag_files = list(
chain(candidate_dag_files, Path(dags_folder).rglob(f"*{suf}"))
)
for config_file_path in candidate_dag_files:
config_file_abs_path = str(config_file_path.absolute())
logging.info("Loading %s", config_file_abs_path)
Expand Down

0 comments on commit fd71548

Please sign in to comment.