Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Anon-Artist authored Dec 21, 2020
1 parent 61ac844 commit a2d815d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nni/tools/package_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a2d815d

Please sign in to comment.