Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phatvo9 committed Oct 20, 2023
1 parent 2be4092 commit 5fe026c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def validate(self, **kwargs) -> dict:

def is_number(v: str):
try:
return float(v)
_ = float(v)
return True
except ValueError:
return False

Expand Down

0 comments on commit 5fe026c

Please sign in to comment.