chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b4a50
)
backwards compatibility with older project files.
author
Daid
<daid303@gmail.com>
Fri, 27 Apr 2012 19:48:56 +0000
(21:48 +0200)
committer
Daid
<daid303@gmail.com>
Fri, 27 Apr 2012 19:48:56 +0000
(21:48 +0200)
Cura/gui/projectPlanner.py
patch
|
blob
|
history
diff --git
a/Cura/gui/projectPlanner.py
b/Cura/gui/projectPlanner.py
index 04513bd53ecb664ac8ffa053d89d634a3ed2df0c..538ea47c3a172aba02e9c226c6990057fe8ba620 100644
(file)
--- a/
Cura/gui/projectPlanner.py
+++ b/
Cura/gui/projectPlanner.py
@@
-163,7
+163,8
@@
class projectPlanner(wx.Frame):
item.flipZ = cp.get(section, 'flipZ') == 'True'
\r
item.swapXZ = cp.get(section, 'swapXZ') == 'True'
\r
item.swapYZ = cp.get(section, 'swapYZ') == 'True'
\r
- item.extuder = int(cp.get(section, 'extruder'))-1
\r
+ if cp.has_option(section, 'extruder'):
\r
+ item.extuder = int(cp.get(section, 'extruder'))-1
\r
i += 1
\r
\r
self.list.append(item)
\r