Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion httomo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def transform_limit_str_to_bytes(limit_str: str):
elif limit_upper.endswith("G"):
return int(float(limit_str[:-1]) * 1024**3)
else:
return int(limit_str)
return int(float(limit_str))
except ValueError:
raise ValueError(f"invalid memory limit string {limit_str}")

Expand Down
Loading