Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
FynnBe and github-actions[bot] authored Sep 26, 2023
1 parent 66cbe79 commit ab45668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioimageio/spec/shared/_resolve_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _download_url(uri: raw_nodes.URI, output: typing.Optional[os.PathLike] = Non

user_agent = os.environ.get("BIOIMAGEIO_USER_AGENT")
if user_agent is not None:
headers["User-Agent"] = user_agent
headers["User-Agent"] = user_agent

r = requests.get(str(uri), stream=True, headers=headers)
r.raise_for_status()
Expand Down

0 comments on commit ab45668

Please sign in to comment.