Unverified Commit a2d815d0 authored by Anon-Artist's avatar Anon-Artist Committed by GitHub
Browse files

Update __init__.py

parent 61ac844f
......@@ -216,7 +216,7 @@ def read_registerd_algo_meta():
config_file = get_registered_algo_config_path()
if os.path.exists(config_file):
with open(config_file, 'r') as f:
config = yaml.load(f, Loader=yaml.Loader)
config = yaml.load(f, Loader=yaml.SafeLoader)
else:
config = defaultdict(list)
for t in ALGO_TYPES:
......
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