Fixed bug with 'integer' type validation in config files
This commit is contained in:
parent
3bef80a642
commit
227a45d280
@ -350,7 +350,7 @@ def validate_integer(s, min=None, max=None):
|
|||||||
return v
|
return v
|
||||||
|
|
||||||
@type_validator('float')
|
@type_validator('float')
|
||||||
def validate_integer(s):
|
def validate_float(s):
|
||||||
# TODO: Implement proper validation
|
# TODO: Implement proper validation
|
||||||
return float(s)
|
return float(s)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user