workflow: don't fail odt creation on draw:frame missing a name (#16510)

This commit is contained in:
Frédéric Péters 2017-05-26 07:51:42 +02:00
parent a90993f8ad
commit 8310df8b67
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ class ExportToModel(WorkflowStatusItem):
if node.tag == DRAW_FRAME:
name = node.attrib.get(DRAW_NAME)
if not name.startswith('='):
if not (name and name.startswith('=')):
continue
# variable image
try: