Commit e2d080b6 authored by space-nuko's avatar space-nuko
Browse files

Return null for value format

parent 6b2a8a38
......@@ -103,7 +103,9 @@ def get_output_data(obj, input_data_all):
return output, ui
def format_value(x):
if isinstance(x, (int, float, bool, str)):
if x is None:
return None
elif isinstance(x, (int, float, bool, str)):
return x
else:
return str(x)
......
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