Skip to content

Commit

Permalink
Use existing requests session for S3FF
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna committed Jan 29, 2021
1 parent e953024 commit 3d00d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swcc/swcc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def cli(ctx, url, json_output: bool, verbose: int):
ctx.obj = CliContext(
session=session,
url=url.rstrip('/'),
s3ff=S3FileFieldClient(url.rstrip('/') + '/s3-upload/'),
s3ff=S3FileFieldClient(url.rstrip('/') + '/s3-upload/', session),
json_output=json_output,
)

Expand Down

0 comments on commit 3d00d04

Please sign in to comment.