diff options
-rw-r--r-- | examples/upsidedownternet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/upsidedownternet.py b/examples/upsidedownternet.py index aaf8ff74..181a40c2 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) |