From 1fa6bcbd5ab5e51f9e4250024c848933ea0911e7 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Sat, 4 Jan 2014 03:15:08 +0100 Subject: [PATCH] Update another reference to PIL. --- examples/upsidedownternet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/upsidedownternet.py b/examples/upsidedownternet.py index aaf8ff749..181a40c23 100644 --- a/examples/upsidedownternet.py +++ b/examples/upsidedownternet.py @@ -1,4 +1,6 @@ -import Image, cStringIO +import cStringIO +from PIL import Image + def response(context, flow): if flow.response.headers["content-type"] == ["image/png"]: s = cStringIO.StringIO(flow.response.content)