Browse Source

Update YAML library use.

master
Niels G. W. Serup 2 years ago
parent
commit
de04cfccdf
  1. 2
      scripts/transform-file.py

2
scripts/transform-file.py

@ -62,7 +62,7 @@ def extract_markdown_abstract(filename):
yaml_block = ''
elif state == 1:
if line == '---\n':
y = yaml.load(yaml_block)
y = yaml.safe_load(yaml_block)
if y is None:
return None
else:

Loading…
Cancel
Save