simple change to accept float numbers as interval

This commit is contained in:
Sms-Rk 2023-03-27 00:00:25 +03:30
parent 05284ec2f8
commit 598e5be4be

View file

@ -32,7 +32,7 @@ def parse_arguments() -> argparse.Namespace:
)
def posint(argstring: str) -> int:
num = int(argstring)
num = float(argstring)
if num <= 0:
raise ValueError
return num