From 78abc904593f11f7167c7ca9811d79c450177b28 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sun, 6 Nov 2016 19:47:01 -0500 Subject: fix bug in get_param --- embroider.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'embroider.py') 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: -- cgit v1.2.3