Update YAML library use.

This commit is contained in:
Niels G. W. Serup 2019-10-29 13:48:51 +01:00
parent 829c6fe32f
commit de04cfccdf
1 changed files with 1 additions and 1 deletions

View File

@ -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: