mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Comment out lena() caching
This commit is contained in:
parent
4ab5b6c583
commit
40ada60cec
|
@ -172,6 +172,7 @@ def tostring(im, format, **options):
|
|||
def lena(mode="RGB"): # , cache={}):
|
||||
from PIL import Image
|
||||
# im = cache.get(mode)
|
||||
im = None
|
||||
if im is None:
|
||||
if mode == "RGB":
|
||||
im = Image.open("Images/lena.ppm")
|
||||
|
|
Loading…
Reference in New Issue
Block a user