Commit 91984431 authored by fishead's avatar fishead Committed by SparkSnail
Browse files

Bugfix for nnictl experiment delete (#1953)

parent d0cf8e52
...@@ -76,7 +76,7 @@ class Experiments: ...@@ -76,7 +76,7 @@ class Experiments:
def remove_experiment(self, expId): def remove_experiment(self, expId):
'''remove an experiment by id''' '''remove an experiment by id'''
if id in self.experiments: if expId in self.experiments:
self.experiments.pop(expId) self.experiments.pop(expId)
self.write_file() self.write_file()
......
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