diff options
| author | Lex Neva <github@lexneva.name> | 2016-11-06 19:47:01 -0500 |
|---|---|---|
| committer | Lex Neva <github@lexneva.name> | 2016-11-06 19:47:01 -0500 |
| commit | 78abc904593f11f7167c7ca9811d79c450177b28 (patch) | |
| tree | e9d4dc82a6f789459308171a209e45d2efd192ab /embroider.py | |
| parent | 50493add9ee1a457b6de47256ba6ff462a5bead4 (diff) | |
fix bug in get_param
Diffstat (limited to 'embroider.py')
| -rw-r--r-- | embroider.py | 4 |
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: |
