Skip to content

Commit 77b4a3e

Browse files
bug: aws_cp optional args should not be ints (#76)
* convert aws_cp optional args into str instead of int * --part-size, not --part_size
1 parent 20fedd8 commit 77b4a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/idsse_common/idsse/common/aws_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def aws_cp(self,
9494

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

102102
exec_cmd(commands)

0 commit comments

Comments
 (0)