Skip to content

Commit

Permalink
fix: Use default YAML loader
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 17, 2024
1 parent 61d10bb commit 350be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf_build_src/pandoc_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _flatten_values(lst):
fname_mkdocs_yml = _find(HERE, "mkdocs.yml")

with open(fname_mkdocs_yml, "r") as stream:
mkdocs_yml = yaml.safe_load(stream)
mkdocs_yml = yaml.load(stream, yaml.Loader)

sections = mkdocs_yml["nav"][0]["The BIDS Specification"]

Expand Down

0 comments on commit 350be4f

Please sign in to comment.