Skip to content

Commit

Permalink
remove f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhiggott committed Apr 23, 2021
1 parent dcaeea3 commit 143edb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def download_and_extract(pkg_url, pkg_fn, pkg_orig_dir=None, pkg_new_dir=None):
with urllib.request.urlopen(pkg_url) as r, open(pkg_fn, 'wb') as f:
shutil.copyfileobj(r, f)
except:
print(f"Failed to download {pkg_url} dependency, aborting installation.")
print("Failed to download {} dependency, aborting installation.".format(pkg_url))
raise
shutil.unpack_archive(pkg_fn, lib_dir)
if pkg_orig_dir is not None and pkg_new_dir is not None:
Expand Down

0 comments on commit 143edb8

Please sign in to comment.