parent
7a275d51d6
commit
b64f6f5ceb
|
@ -157,7 +157,7 @@ class EdocumentImportMixin(EdocumentMixin):
|
|||
def _template(cls):
|
||||
template_path = cls._get_template_name()
|
||||
with open(template_path, encoding='utf-8') as fp:
|
||||
return yaml.load(fp.read())
|
||||
return yaml.load(fp.read(), Loader=yaml.Loader)
|
||||
|
||||
@classmethod
|
||||
def _get_document_manager(cls):
|
||||
|
|
Loading…
Reference in New Issue