diff options
-rw-r--r-- | mitmproxy/contentviews/image/view.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mitmproxy/contentviews/image/view.py b/mitmproxy/contentviews/image/view.py index e3c9bbd3..8fdb26e9 100644 --- a/mitmproxy/contentviews/image/view.py +++ b/mitmproxy/contentviews/image/view.py @@ -1,7 +1,6 @@ import io import imghdr -from PIL import ExifTags from PIL import Image from mitmproxy.types import multidict @@ -52,13 +51,5 @@ class ViewImage(base.View): parts.append( (str(i), str(img.info[i])) ) - if hasattr(img, "_getexif"): - ex = img._getexif() - if ex: - for i in sorted(ex.keys()): - tag = ExifTags.TAGS.get(i, i) - parts.append( - (str(tag), str(ex[i])) - ) fmt = base.format_dict(multidict.MultiDict(parts)) return "%s image" % img.format, fmt |