"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "08edcfbb0baa05103c1a451a2c16c52c11bd6529"
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(): ...@@ -216,7 +216,7 @@ def read_registerd_algo_meta():
config_file = get_registered_algo_config_path() config_file = get_registered_algo_config_path()
if os.path.exists(config_file): if os.path.exists(config_file):
with open(config_file, 'r') as f: with open(config_file, 'r') as f:
config = yaml.load(f, Loader=yaml.Loader) config = yaml.load(f, Loader=yaml.SafeLoader)
else: else:
config = defaultdict(list) config = defaultdict(list)
for t in ALGO_TYPES: 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