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

Commit

Permalink
Bugfix for nnictl experiment delete (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyusr authored and SparkSnail committed Jan 14, 2020
1 parent d0cf8e5 commit 9198443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nni_cmd/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def update_experiment(self, expId, key, value):

def remove_experiment(self, expId):
'''remove an experiment by id'''
if id in self.experiments:
if expId in self.experiments:
self.experiments.pop(expId)
self.write_file()

Expand Down

0 comments on commit 9198443

Please sign in to comment.