fix #24
This commit is contained in:
parent
49de97160c
commit
c7a417b191
@ -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()
|
Loading…
Reference in New Issue
Block a user