diff --git a/src/utils/__init__.py b/src/utils/__init__.py index 4b807550..17adf79b 100644 --- a/src/utils/__init__.py +++ b/src/utils/__init__.py @@ -98,7 +98,8 @@ def parse_number(s: str) -> str: try: number = decimal.Decimal(number_str) except: - raise ValueError("Invalid format '%s' passed to parse_number" % number) + raise ValueError("Invalid format '%s' passed to parse_number" % + number_str) if unit == "k": number *= decimal.Decimal("1_000")