backwards compatibility with older project files.
This commit is contained in:
1 parent
a1b4a50342
commit
4a57502535
1 file changed
+2
-1
@@ -163,7 +163,8 @@ class projectPlanner(wx.Frame):
|
||||
item.flipZ = cp.get(section, 'flipZ') == 'True'
|
||||
item.swapXZ = cp.get(section, 'swapXZ') == 'True'
|
||||
item.swapYZ = cp.get(section, 'swapYZ') == 'True'
|
||||
item.extuder = int(cp.get(section, 'extruder'))-1
|
||||
if cp.has_option(section, 'extruder'):
|
||||
item.extuder = int(cp.get(section, 'extruder'))-1
|
||||
i += 1
|
||||
|
||||
self.list.append(item)
|
||||
|
||||
Reference in new issue
Block a user