This commit is contained in:
Marc Mance
2024-05-30 16:53:05 -04:00
parent 2416bf9c45
commit 80f049c677

View File

@@ -56,6 +56,8 @@ def convert_to_megabytes(data_size):
Returns: Returns:
int: Size of data in megabytes, or None if the format is invalid. int: Size of data in megabytes, or None if the format is invalid.
""" """
breakpoint()
try: try:
size, unit = data_size.upper().split() size, unit = data_size.upper().split()
size = float(size) size = float(size)