summaryrefslogtreecommitdiff
path: root/embroider.py
diff options
context:
space:
mode:
authorLex Neva <github@lexneva.name>2016-11-06 19:47:01 -0500
committerLex Neva <github@lexneva.name>2016-11-06 19:47:01 -0500
commit78abc904593f11f7167c7ca9811d79c450177b28 (patch)
treee9d4dc82a6f789459308171a209e45d2efd192ab /embroider.py
parent50493add9ee1a457b6de47256ba6ff462a5bead4 (diff)
fix bug in get_param
Diffstat (limited to 'embroider.py')
-rw-r--r--embroider.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/embroider.py b/embroider.py
index 9d9f33fc..df6717b6 100644
--- a/embroider.py
+++ b/embroider.py
@@ -59,7 +59,7 @@ class EmbroideryElement(object):
value = self.node.get("embroider_" + param, "").strip()
if not value:
- value = getattr(self.options, param, None)
+ value = getattr(self.options, param, default)
return value
@@ -586,6 +586,8 @@ class AutoFill(Fill):
return patches
def to_patches(self, last_patch):
+ print >> dbg, "autofill"
+
patches = []
if last_patch is None: