Humanize number fix (#6283)

Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
aikaterna
2024-01-03 16:13:26 -08:00
committed by GitHub
parent 47a267b38b
commit 531b4fe357
6 changed files with 26 additions and 5 deletions

View File

@@ -8,6 +8,9 @@ __all__ = ("finite_float",)
_ = Translator("Trivia", __file__)
MAX_VALUE = 2**63 - 1
def finite_float(arg: str) -> float:
try:
ret = float(arg)