summaryrefslogtreecommitdiff
path: root/lib/extensions/batch_lettering.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/batch_lettering.py')
-rw-r--r--lib/extensions/batch_lettering.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions/batch_lettering.py b/lib/extensions/batch_lettering.py
index 31d24e5f..70beaaf7 100644
--- a/lib/extensions/batch_lettering.py
+++ b/lib/extensions/batch_lettering.py
@@ -135,6 +135,8 @@ class BatchLettering(InkstitchExtension):
path = tempfile.mkdtemp()
files = []
for i, text in enumerate(texts):
+ if not text:
+ continue
stitch_plan, lettering_group = self.generate_stitch_plan(text, text_positioning_path)
for file_format in file_formats:
files.append(self.generate_output_file(file_format, path, text, stitch_plan, i))