Commit 7a269dc0 authored by valentin.kozlov's avatar valentin.kozlov Committed by BorjaEst
Browse files

update from yaml.load to yaml.safe_load

parent 78e9e79e
......@@ -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