Update YAML load().

This commit is contained in:
Trullemans Gregory 2020-03-03 20:56:10 +01:00
parent d293464ff4
commit f268776f1e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class PDFDocument(object):
self.club_infos = None
with open(os.path.join(current_path, "site_config.yaml"), "r") as stream:
try:
self.club_infos = yaml.load(stream)
self.club_infos = yaml.load(stream, Loader=yaml.FullLoader)
except yaml.YAMLError as exc:
print(exc)