This commit is contained in:
Mario Voigt 2023-08-19 17:46:51 +02:00
parent 49de97160c
commit c7a417b191

View File

@ -45,12 +45,14 @@ class Reload(inkex.EffectExtension):
originalRoot.attrib[copyAttrib] = copyRoot.attrib[copyAttrib]
#update all attributes in originalNamedview
for copyAttrib in copyNamedview.attrib:
originalNamedview.attrib[copyAttrib] = copyNamedview.attrib[copyAttrib]
if copyNamedview is not None:
for copyAttrib in copyNamedview.attrib:
originalNamedview.attrib[copyAttrib] = copyNamedview.attrib[copyAttrib]
#update all attributes in originalDefs
for copyAttrib in copyDefs.attrib:
originalDefs.attrib[copyAttrib] = copyDefs.attrib[copyAttrib]
if copyDefs is not None:
for copyAttrib in copyDefs.attrib:
originalDefs.attrib[copyAttrib] = copyDefs.attrib[copyAttrib]
if __name__ == '__main__':
Reload().run()