From a3d267b96c43a2d8eddcba8aa036cc9a93cb0e4e Mon Sep 17 00:00:00 2001 From: wiredfool Date: Mon, 7 Oct 2013 17:00:54 -0700 Subject: [PATCH] Changes in the internal representation of ImageFileDirectory --- PIL/IptcImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/IptcImagePlugin.py b/PIL/IptcImagePlugin.py index 02e3360ff..157b73509 100644 --- a/PIL/IptcImagePlugin.py +++ b/PIL/IptcImagePlugin.py @@ -262,7 +262,7 @@ def getiptcinfo(im): # get raw data from the IPTC/NAA tag (PhotoShop tags the data # as 4-byte integers, so we cannot use the get method...) try: - type, data = im.tag.tagdata[TiffImagePlugin.IPTC_NAA_CHUNK] + data = im.tag.tagdata[TiffImagePlugin.IPTC_NAA_CHUNK] except (AttributeError, KeyError): pass