linter fixes

This commit is contained in:
Eren Gölge 2021-02-09 11:43:17 +00:00 committed by Eren Gölge
parent 2b5cb24db7
commit 3c961370e7
3 changed files with 4 additions and 5 deletions

View File

@ -104,7 +104,6 @@ def get_last_checkpoint(path):
pass
if last_checkpoint is None:
raise ValueError(f"No checkpoints in {path}!")
else:
return last_checkpoint