mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Removed unnecessary import of cl and CL. (Sjoerd)
This commit is contained in:
parent
1d5766fd1a
commit
1e57a04301
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ def jpeggrey2grey(img, width, height):
|
|||
return data
|
||||
|
||||
def jpeg2rgb(img, width, height):
|
||||
import cl, CL
|
||||
import jpeg
|
||||
data, width, height, bytesperpixel = jpeg.decompress(img)
|
||||
if bytesperpixel <> 4: raise RuntimeError, 'not rgb jpeg'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue