linter fixes

This commit is contained in:
Eren Gölge 2021-02-09 11:43:17 +00:00
parent e507373b55
commit c619859a3f
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