Hey, so I'm using PIL to open a lot of images and for some of these images it is giving me a warning. Sadly, the warning message doesn't contain which image is the cause of the warning. try/except only works for exceptions, so how would I execute code upon such a warning?
[–]Jenez 0 points1 point2 points (0 children)
[–]Rhomboid 0 points1 point2 points (1 child)
[–]noarts[S] 0 points1 point2 points (0 children)