From 6c60b3d717586d7e61474fe47e5b10dbb4b60ded Mon Sep 17 00:00:00 2001 From: HuangKangJing Date: Mon, 2 Mar 2015 11:19:59 +0800 Subject: [PATCH 1/2] dill should be added to dependencies --- README.md | 1 + 1 file changed, 1 insertion(+) 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 From 15a6eb79bf0fceadb5f3f07cd46d6d0f24b8d8f6 Mon Sep 17 00:00:00 2001 From: HuangKangJing Date: Mon, 2 Mar 2015 11:20:28 +0800 Subject: [PATCH 2/2] Image is in PIL.Image now on most platforms --- lib/res.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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