18 Feb
2002
18 Feb
'02
5:20 p.m.
Dan Shafer wrote:
def makeThumbnail(self, original_id, size=128)
from PIL import Image from cStringIO import StringIO import os.path
# create a thumbnail image file original_image=getattr(self, original_id) original_file=StringIO(original_image.data)
So, this is the line with the bug. What's data? What's original_image? I suspect data is of a type the StringIO doesn't like. You sure you haven't got a typo here? cheers, Chris