Compare commits

..

No commits in common. "841be4f1bb5a87e3dc28c9009b385fb14dcfe2b7" and "fed63fd45ff542febd0403a04d9a55034ffe3b6a" have entirely different histories.

View File

@ -28,7 +28,7 @@ def _set_additional_parameters(component, type, value):
param = ComponentParameter.objects.create(component=component,
parameter_type=param_type)
if param_type.parameter_type == 'F':
if param_type == 'F':
param.text_value = value
else:
param.value = float(value)