Compare commits
3 Commits
fed63fd45f
...
841be4f1bb
Author | SHA1 | Date | |
---|---|---|---|
841be4f1bb | |||
0d4019832f | |||
f2ea45cd19 |
@ -28,7 +28,7 @@ def _set_additional_parameters(component, type, value):
|
|||||||
|
|
||||||
param = ComponentParameter.objects.create(component=component,
|
param = ComponentParameter.objects.create(component=component,
|
||||||
parameter_type=param_type)
|
parameter_type=param_type)
|
||||||
if param_type == 'F':
|
if param_type.parameter_type == 'F':
|
||||||
param.text_value = value
|
param.text_value = value
|
||||||
else:
|
else:
|
||||||
param.value = float(value)
|
param.value = float(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user