Skip to content

Commit

Permalink
bug: aws_cp optional args should not be ints (#76)
Browse files Browse the repository at this point in the history
* convert aws_cp optional args into str instead of int
* --part-size, not --part_size
  • Loading branch information
mackenzie-grimes-noaa authored Sep 19, 2024
1 parent 20fedd8 commit 77b4a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/idsse_common/idsse/common/aws_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ def aws_cp(self,

# if concurrency and/or chunk_size options were provided, append to s5cmd before paths
if concurrency:
commands += ['--concurrency', concurrency]
commands += ['--concurrency', str(concurrency)]
if chunk_size:
commands += ['--part_size', chunk_size]
commands += ['--part-size', str(chunk_size)]
commands += [path, dest] # finish the command list with the src and destination

exec_cmd(commands)
Expand Down

0 comments on commit 77b4a3e

Please sign in to comment.