Commit f2d16e67 authored by BorjaEst's avatar BorjaEst
Browse files

Merge branch '27-implement-yaml-safe-load'

parents 78e9e79e 7a269dc0
......@@ -66,7 +66,7 @@ def load(yaml_file):
:rtype: dict
"""
with open(yaml_file, "r") as ymlfile:
config = yaml.load(ymlfile)
config = yaml.safe_load(ymlfile)
logging.debug("Configuration data: %s", config)
return config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment