Skip to content

Commit

Permalink
LNT: Run pre-commit. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Taher Chegini committed May 16, 2024
1 parent 973197f commit b0ed0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoogc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _download(
try:
resp = session_func(url, **kwd)
except ServiceError as ex:
msg = f"An error occured when downloading {url}:\n{str(ex)}"
msg = f"An error occured when downloading {url}:\n{ex!s}"
warnings.warn(msg, RuntimeWarning, stacklevel=2)
return None
fsize = int(resp.headers.get("Content-Length", -1))
Expand Down

0 comments on commit b0ed0de

Please sign in to comment.