From 2f29f1306fa0650269a23a8158e4d99f21179ac0 Mon Sep 17 00:00:00 2001 From: UrielMaD Date: Sun, 27 Dec 2020 22:01:27 -0600 Subject: [PATCH] XMP feature added --- src/PIL/Image.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 63468df99..983580fc3 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1324,10 +1324,8 @@ class Image: Returns an object containing the xmp tags for a given image. :returns: XMP tags in an object. """ - if self._xmp is None: self._xmp = {} - for segment, content in self.applist: if segment == "APP1": marker, xmp_tags = content.rsplit(b"\x00", 1)