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
|
||||
|
||||
@type_validator('float')
|
||||
def validate_integer(s):
|
||||
def validate_float(s):
|
||||
# TODO: Implement proper validation
|
||||
return float(s)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user