diff --git a/extensions/fablabchemnitz/export_selection_as/export_selection_as.inx b/extensions/fablabchemnitz/export_selection_as/export_selection_as.inx index 82a6070e..be0f65e2 100644 --- a/extensions/fablabchemnitz/export_selection_as/export_selection_as.inx +++ b/extensions/fablabchemnitz/export_selection_as/export_selection_as.inx @@ -14,7 +14,7 @@ false false 96 - false + false false diff --git a/extensions/fablabchemnitz/export_selection_as/export_selection_as.py b/extensions/fablabchemnitz/export_selection_as/export_selection_as.py index d8baaa39..92cb76bc 100644 --- a/extensions/fablabchemnitz/export_selection_as/export_selection_as.py +++ b/extensions/fablabchemnitz/export_selection_as/export_selection_as.py @@ -262,7 +262,8 @@ class ExportObject(inkex.EffectExtension): imgReplacement.attrib['id'] = firstId imgReplacement.attrib['{http://www.w3.org/1999/xlink}href'] = "data:image/png;base64,{}".format(base64_str) parent.append(imgReplacement) - del parent.attrib['transform'] #remove transform + if parent.attrib.has_key('transform'): + del parent.attrib['transform'] #remove transform def create_document(self):