mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 20:00:09 +08:00
Merge branch 'migrate_from_pil_to_pillow' of https://github.com/Kami/mitmproxy into Kami-migrate_from_pil_to_pillow
Conflicts: requirements.txt
This commit is contained in:
@@ -2,11 +2,8 @@ import logging
|
||||
import re, cStringIO, traceback, json
|
||||
import urwid
|
||||
|
||||
try: from PIL import Image
|
||||
except ImportError: import Image
|
||||
|
||||
try: from PIL.ExifTags import TAGS
|
||||
except ImportError: from ExifTags import TAGS
|
||||
from PIL import Image
|
||||
from PIL.ExifTags import TAGS
|
||||
|
||||
import lxml.html, lxml.etree
|
||||
import netlib.utils
|
||||
|
||||
Reference in New Issue
Block a user