Commit b5fbe65d authored by Claude Paroz's avatar Claude Paroz

Corrected ImageFile import

parent 3ea55e89
......@@ -113,7 +113,7 @@ def get_image_size(url):
""" Returns width and height (as tuple) of the image poited at by the url
Code partially copied from http://effbot.org/zone/pil-image-size.htm """
import urllib
import ImageFile
from PIL import ImageFile
from httplib import InvalidURL
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment