Fixed bug with 'integer' type validation in config files

This commit is contained in:
Maxim Kulkin 2013-09-26 18:48:48 +04:00
parent 3bef80a642
commit 227a45d280

View File

@ -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)