When you run it just for listing the contents, like in
vinetto /path/to/Thumbs.db
it will stop at line 77 (Python 2.4) because the output directory is None and cannot be concatenated with Strings, need a check before doing so like this:
line 77:
if (opts.outputdir != None) :
os.system("mkdir " + opts.outputdir + "/" + NUMBERED_THUMBS_DIR)
and it runs fine, nice script btw, I...
2007-09-02 01:36:52 UTC in vinetto