aboutsummaryrefslogtreecommitdiff
path: root/scripts/authentication
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-12 16:02:51 +0300
committerFrederick Muriuki Muriithi2023-07-12 16:02:51 +0300
commitf05f90a60f561e24312a4e7db5dbcc34d69c8cdc (patch)
tree744cce6eb43e4c90225854558f05838c99e89614 /scripts/authentication
parent477c3f34f8af919592c722cc1a71b2602cb7ac82 (diff)
downloadgenenetwork2-f05f90a60f561e24312a4e7db5dbcc34d69c8cdc.tar.gz
Fix check for numeric values
The `str.isnumeric()` function returns false for numbers such as '9.99', '88.8' etc. This commit provides a slightly more robust check for strings that are numbers. It will fail for numbers with exponents though.
Diffstat (limited to 'scripts/authentication')
0 files changed, 0 insertions, 0 deletions