Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix port bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinai Yang (FA TALENT) committed Oct 18, 2018
1 parent 5ae146d commit 1dde461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nnicmd/nnictl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_experiment_port(args):
if not args.id:
return list(experiment_dict.values())[0][0]
if experiment_dict.get(args.id):
return experiment_dict[args.id]
return experiment_dict[args.id][0]
else:
print_error('Id not correct!')
return None
Expand Down

0 comments on commit 1dde461

Please sign in to comment.