Apparently this is needed now.

This commit is contained in:
Niels G. W. Serup 2019-10-09 18:57:19 +02:00
parent e20ff70d0a
commit 350a019e7b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def load_settings(settings_file):
def load_media(media_file):
with open(media_file) as f:
c = yaml.load(f)
c = yaml.load(f, Loader=yaml.FullLoader)
c['year'] = int(c['year'])
c['ident'] = ident(media_file)
return c