imghist icon indicating copy to clipboard operation
imghist copied to clipboard

colorBuckets NoneType

Open apiszcz opened this issue 5 years ago • 0 comments

addHLSPixel: I appear to have a situation where the following test is true, since it is true the colorBuckets is not set, then the next access to colorBuckets reports TypeError: 'NoneType' object is no subscriptable.

if l < lightnessCutoff or l > (1 - lightnessCutoff) or s < saturationCutoff: return

apiszcz avatar May 13 '19 13:05 apiszcz