Skip to content

Commit ab45668

Browse files
black
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 66cbe79 commit ab45668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/spec/shared/_resolve_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def _download_url(uri: raw_nodes.URI, output: typing.Optional[os.PathLike] = Non
472472

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

477477
r = requests.get(str(uri), stream=True, headers=headers)
478478
r.raise_for_status()

0 commit comments

Comments
 (0)