#27 image cache problem causes thumbnail regeneration

open
nobody
None
5
2005-03-31
2005-03-31
Anonymous
No

in the imageSize function:

sizestr = fcachesizes.lookup(path)

which sometimes returns 0x0, which then gets returned
to generateThumbnail, causing it to fail the
checkThumbSize test.

To fix it, I changed
if sizestr != None:
to
if sizestr != None and sizestr != "0x0":

Don
d3berry@rogers.com

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks