diff --git a/README.md b/README.md index 075d549..2dc6739 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This tool can parse and dump WeChat chat history on a rooted android phone. + python-PIL + [PyQuery](https://pypi.python.org/pypi/pyquery/1.2.1) + [pysox](https://pypi.python.org/pypi/pysox/0.3.6.alpha) ++ [dill](https://pypi.python.org/pypi/dill) + python-csscompressor(optional) + adb and rooted android phone connected to PC diff --git a/lib/res.py b/lib/res.py index 08880dc..a543b1b 100644 --- a/lib/res.py +++ b/lib/res.py @@ -8,7 +8,7 @@ import glob import os import re # TODO: perhaps we don't need to introduce PIL and numpy. libjpeg might be enough -import Image +from PIL import Image import cStringIO import base64 import logging