mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Renamed variable
This commit is contained in:
parent
8c8b110035
commit
ad9614be7a
|
@ -1334,10 +1334,10 @@ class Image:
|
|||
if marker == b"http://ns.adobe.com/xap/1.0/":
|
||||
root = xml.etree.ElementTree.fromstring(xmp_tags)
|
||||
for element in root.findall(".//"):
|
||||
xmp_atribs = []
|
||||
xmp_attribs = []
|
||||
for child, value in element.attrib.items():
|
||||
xmp_atribs.append({child.split("}")[1]: value})
|
||||
self._xmp.update({element.tag.split("}")[1]: xmp_atribs})
|
||||
xmp_attribs.append({child.split("}")[1]: value})
|
||||
self._xmp.update({element.tag.split("}")[1]: xmp_attribs})
|
||||
return self._xmp
|
||||
|
||||
def getim(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user