mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
Migrate from Pil to the latest version of Pillow.
This commit is contained in:
parent
b9d4eb103e
commit
e9c2c0ac3a
@ -1,11 +1,8 @@
|
||||
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
|
||||
|
@ -1,7 +1,7 @@
|
||||
Flask>=0.9
|
||||
Jinja2>=2.7
|
||||
MarkupSafe>=0.18
|
||||
PIL>=1.1.7
|
||||
Pillow>=2.3.0,<2.4
|
||||
Werkzeug>=0.8.3
|
||||
lxml>=3.2.1
|
||||
netlib>=0.9.2
|
||||
@ -13,4 +13,4 @@ pyasn1>=0.1.7
|
||||
requests>=1.2.2
|
||||
urwid>=1.1.1
|
||||
wsgiref>=0.1.2
|
||||
jsbeautifier>=1.4.0
|
||||
jsbeautifier>=1.4.0
|
||||
|
Loading…
Reference in New Issue
Block a user