Skip to content
Snippets Groups Projects
Unverified Commit 471e1bc8 authored by Daniel Agar's avatar Daniel Agar Committed by GitHub
Browse files

serial/generate_config.py specify full loader (#11667)

- fixes #11666
parent b54ca67d
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,7 @@ PARAM_DEFINE_{param_type}({name}, {default_value});
for yaml_file in args.config_files:
with open(yaml_file, 'r') as stream:
try:
yaml_config = yaml.load(stream)
yaml_config = yaml.load(stream, Loader=yaml.Loader)
serial_commands.extend(parse_yaml_serial_config(yaml_config))
# TODO: additional params should be parsed in a separate script
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment