Skip to content

Commit

Permalink
fix(downloader): stream option was not propagated to get args (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored Sep 4, 2024
2 parents 19a64fa + 59918f2 commit 58ba890
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qgis_deployment_toolbelt/utils/file_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def download_remote_file_to_local(
dl_session.mount("https://", TruststoreAdapter())

with dl_session.get(
url=requote_uri(remote_url_to_download), stream=True, timeout=timeout
url=requote_uri(remote_url_to_download),
stream=use_stream,
timeout=timeout,
) as req:
req.raise_for_status()
if use_stream:
Expand Down

0 comments on commit 58ba890

Please sign in to comment.