Fix linting on master branch (#6174)

This commit is contained in:
Philipp Moritz
2019-11-16 10:02:58 -08:00
committed by GitHub
parent a68cda0a33
commit fc655acfee
11 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ def RunnerHandler(runner):
path = parts.path
if path == "/trials":
return [t for t in runner.get_trials()]
return list(runner.get_trials())
else:
trial_id = path.split("/")[-1]
return runner.get_trial(trial_id)