mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-17 11:50:30 +08:00
Fix so autoconvert won't delete FFDL's own output.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user