Commit 4d160f5f authored by Pierre Paleo's avatar Pierre Paleo
Browse files

validator: bugfix

parent 5164f2f9
......@@ -59,6 +59,7 @@ def convert_to_float(val):
def convert_to_bool(val):
val_int, error = convert_to_int(val)
res = None
if not error:
res = (val_int > 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment