diff --git a/report_generator/io/yaml.py b/report_generator/io/yaml.py index d4ffdcb..6d0af98 100644 --- a/report_generator/io/yaml.py +++ b/report_generator/io/yaml.py @@ -8,7 +8,7 @@ def read_yaml(input_yaml): with open(input_yaml, "r") as stream: try: - yaml_load = yaml.load(stream) + yaml_load = yaml.safe_load(stream) return yaml_load except yaml.YAMLError as e: logger.critical(e)