Unverified Commit b183c3d8 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Quick fix bug: nnictl port value error (#245)

* fix port bug
parent b190a8bb
...@@ -54,7 +54,7 @@ def get_experiment_port(args): ...@@ -54,7 +54,7 @@ def get_experiment_port(args):
if not args.id: if not args.id:
return list(experiment_dict.values())[0][0] return list(experiment_dict.values())[0][0]
if experiment_dict.get(args.id): if experiment_dict.get(args.id):
return experiment_dict[args.id] return experiment_dict[args.id][0]
else: else:
print_error('Id not correct!') print_error('Id not correct!')
return None return None
......
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