Fix ternary operator in import of support_enable

The ternary operator of Python is different.

Contributes to issue CURA-37.
This commit is contained in:
Ghostkeeper 2015-12-18 09:52:50 +01:00
parent 99a13ba3aa
commit 5358b700ca

View file

@ -38,7 +38,7 @@
"cool_min_layer_time": "cool_min_layer_time", "cool_min_layer_time": "cool_min_layer_time",
"cool_min_speed": "cool_min_feedrate", "cool_min_speed": "cool_min_feedrate",
"cool_lift_head": "cool_head_lift", "cool_lift_head": "cool_head_lift",
"support_enable": "support == \"None\" ? False : True", "support_enable": "False if (support == \"None\") else True",
"support_type": "support == \"Touching buildplate\" ? \"buildplate\" : \"everywhere\"", "support_type": "support == \"Touching buildplate\" ? \"buildplate\" : \"everywhere\"",
"support_angle": "support_angle", "support_angle": "support_angle",
"support_xy_distance": "support_xy_distance", "support_xy_distance": "support_xy_distance",