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

Commit

Permalink
Quick fix bug: nnictl port value error (#245)
Browse files Browse the repository at this point in the history
* fix port bug
  • Loading branch information
SparkSnail authored and yds05 committed Oct 30, 2018
1 parent b190a8b commit 094436d
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 094436d

Please sign in to comment.