Possibility and Probability

A Python programmer with a personality thinking about space exploration

11 December 2004

Minor note/correction

by Nick

The thumbnailer post does have a slight flaw in it, if you have a a jpg file that ends in .JPG the program will totally ignore it. I just discovered directory it completely passed over. Quick fix is to modify the code where it says “.jpg” to say “.JPG”.

Yes, a better solution would be to pass in the file type at the command line or to have the program determine the type of file at run time…. But since I’m done with my thumbnail/gallery making for the moment, it can wait till the next time I use it.

tags: