View Single Post
Old 03-15-2012, 11:13 AM   #50
alansplace
Grand Sorcerer
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 5,897
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
Cool Check Kindle eBook DRM

Quote:
Originally Posted by ixtab View Post
Ok, here's a modified version which outputs the filename before the type. All I did was change line 207 of the script to include the filename. Maybe someone finds it useful.

(rename to "drmcheck.py" after downloading).
I sure find it useful.

I've examined the output code in drmcheck and kindledrm for the purpose of modifying your version of drmcheck to not put a linefeed after each completed output. I cannot figure out what is causing the drmcheck to output a series of lines interspaced by a blank line (in order to use the command line loop we've been kicking around to create an ascii list). kindledrm's list creates a list w/o the extra linefeed, drmcheck includes a blank line every time it outputs the info of another file.

Do you see what needs to be done to alter that behavior?
alansplace is offline   Reply With Quote