Skip to content

Commit 8136e6c

Browse files
author
Andrei Neagu
committed
added second exception
1 parent 12e5a5f commit 8136e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/simcore-sdk/src/simcore_sdk/node_ports_common/aws_s3_cli_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
def _parse_size(log_string):
1414
match = re.search(r"^\w+ (?P<size>[^\/]+)", log_string)
1515
if match:
16-
# NOTE: ByteSize does not know what `Bytes` are.
16+
# NOTE: ByteSize does not know what `Bytes` or `Byte` are.
1717
# It only knows about `b` and omitting the word bytes if they are just bytes.
18-
return match.group("size").replace("Bytes", "")
18+
return match.group("size").replace("Bytes", "").replace("Byte", "")
1919
return None
2020

2121

0 commit comments

Comments
 (0)