Skip to content
Browse files

backwards compatibility with older project files.

  • Loading branch information...
1 parent a1b4a50 commit 4a57502535bb7f7c29a39f5ff52cef4f1ff258af @daid committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 Cura/gui/projectPlanner.py
View
3 Cura/gui/projectPlanner.py
@@ -163,7 +163,8 @@ def OnLoadProject(self, e):
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)

0 comments on commit 4a57502

Please sign in to comment.
Something went wrong with that request. Please try again.