Skip to content

Commit

Permalink
GitHub API rate limit newline (ultralytics#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Jan 10, 2021
1 parent a9dea85 commit bac2372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/google_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def attempt_download(file):
if not file.exists() or file.stat().st_size < 1E6: # check
file.unlink(missing_ok=True) # remove partial downloads
print(f'ERROR: Download failure: {msg}')
print('')
return


Expand Down

0 comments on commit bac2372

Please sign in to comment.