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:54:35 +01:00
parent 5358b700ca
commit bfa332e227

View File

@ -39,7 +39,7 @@
"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": "False if (support == \"None\") else True", "support_enable": "False if (support == \"None\") else True",
"support_type": "support == \"Touching buildplate\" ? \"buildplate\" : \"everywhere\"", "support_type": "\"buildplate\" if (support == \"Touching buildplate\") else \"everywhere\"",
"support_angle": "support_angle", "support_angle": "support_angle",
"support_xy_distance": "support_xy_distance", "support_xy_distance": "support_xy_distance",
"support_z_distance": "support_z_distance", "support_z_distance": "support_z_distance",