Support for float types in text fields
TypeError: object of type 'float' has no len()
@@ -145,7 +145,7 @@ def keys_to_typing(value):
for val in value:
if isinstance(val, Keys):
typing.append(val)
- elif isinstance(val, int):
+ elif isinstance(val, int) or isinstance(val, float):
val = str(val)
for i in range(len(val)):
typing.append(val[i])
