We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69cf7cb commit fb86798Copy full SHA for fb86798
packages/simcore-sdk/src/simcore_sdk/node_ports_common/aws_s3_cli_utils.py
@@ -13,7 +13,9 @@
13
def _parse_size(log_string):
14
match = re.search(r"^\w+ (?P<size>[^\/]+)", log_string)
15
if match:
16
- return match.group("size")
+ # NOTE: ByteSize does not know what `Bytes` or `Byte` are.
17
+ # It only knows about `b` and omitting the word bytes if they are just bytes.
18
+ return match.group("size").replace("Bytes", "").replace("Byte", "")
19
return None
20
21
0 commit comments