mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Add missing imports.
This commit is contained in:
parent
7224350656
commit
8fd107f8ea
2 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue