View Single Post
Old 12-25-2009, 12:01 AM   #16
rcuadro
Wizard
rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.rcuadro ought to be getting tired of karma fortunes by now.
 
Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
Quote:
Originally Posted by daffy4u View Post
Sorry, I was out. I see you found the answer but I'll tell you what I did anyway. I opened the plugin with Idle and searched for "prc". I changed that line from this:

Code:
file_types          = set(['prc']) # The file types that this plugin will be applied to
to this:

Code:
file_types          = set(['azw', 'prc', 'mobi']) # The file types that this plugin will be applied
Now I don't have to change the file extension.
I wonder what will happen if you add a file with say a mobi extension that is not DRM'd and it tries to apply the script...
rcuadro is offline   Reply With Quote