diff options
-rw-r--r-- | lesana/collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lesana/collection.py b/lesana/collection.py index 7ab4334..aa82a39 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -563,7 +563,7 @@ class Collection(object): except jinja2.exceptions.TemplateSyntaxError as e: raise TemplatingError(e) try: - data = ruamel.yaml.load(rendered, ruamel.yaml.RoundTripLoader) + data = self.yaml.load(rendered) except ruamel.yaml.YAMLError as e: logger.warning( "The following data failed to load as YAML: \n{}".format( |