Skip to content

Commit

Permalink
fix(transforms.py): Add default loader to load_from_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vasenin committed Jul 22, 2021
1 parent 887d3db commit 07901b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntc/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def _merge(cfg: CN) -> None:
if not filepath.exists():
return
with filepath.open() as f:
cfg.update(yaml.load(f))
cfg.update(yaml.load(f, Loader=yaml.Loader))

return _merge

0 comments on commit 07901b3

Please sign in to comment.