Skip to content

Commit

Permalink
Merge pull request #1495 from henrykironde/error-print
Browse files Browse the repository at this point in the history
Use simple print and remove attribute code
  • Loading branch information
ethanwhite committed Jul 16, 2020
2 parents 419c55d + d338f85 commit 368975d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retriever/lib/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def download_file(self, url, filename):
try:
urlretrieve(url, path, reporthook=reporthook(progbar))
except HTTPError as e:
print(f"HTTPError: {e.code}")
print("HTTPError :", e)
return None

self.use_cache = True
Expand Down

0 comments on commit 368975d

Please sign in to comment.