Add missing imports.

This commit is contained in:
Georg Brandl 2010-02-06 23:06:24 +00:00
parent 7224350656
commit 8fd107f8ea
2 changed files with 2 additions and 0 deletions

View file

@ -180,6 +180,7 @@ def getimage(name):
"""return a tuple consisting of
image (in 'imgfile' format) width and height
"""
import imgfile
try:
sizes = imgfile.getsizes(name)
except imgfile.error: