From 2aaa08f9236c6939bb492100bc36038382d80eb1 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 26 Aug 2014 20:15:35 -0500 Subject: [PATCH] Fix so autoconvert won't delete FFDL's own output. --- calibre-plugin/ffdl_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py index 9dfa4386..4ea3269e 100644 --- a/calibre-plugin/ffdl_plugin.py +++ b/calibre-plugin/ffdl_plugin.py @@ -1464,7 +1464,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction): elif prefs['autoconvert']: ## 'Convert Book'.auto_convert_auto_add doesn't convert if ## the format is already there. - fmt = calibre_prefs['output_format'] + fmt = calibre_prefs['output_format'].upper() # formmapping is upper. # delete if there, but not if the format we just made. if fmt != formmapping[options['fileform']] and \ db.has_format(book_id,fmt,index_is_id=True):