Skip to content

Commit

Permalink
Stop passing extra URL to fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Oct 14, 2024
1 parent de8fddd commit 02a9d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toil/lib/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def get_workflow_root_from_dockstore(workflow: str, supported_languages: Optiona
}
# If we don't set stream=True, we can't actually read anything from the
# raw stream, since Requests will have done it already.
with session.get(trs_zip_file_url, trs_zip_file_url, headers=headers, stream=True) as response:
with session.get(trs_zip_file_url, headers=headers, stream=True) as response:
response_content_length = response.headers.get("Content-Length")
logger.debug("Server reports content length: %s", response_content_length)
shutil.copyfileobj(response.raw, zip_file)
Expand Down

0 comments on commit 02a9d7f

Please sign in to comment.