mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Fix so autoconvert won't delete FFDL's own output.
This commit is contained in:
parent
c116dc9bf3
commit
2aaa08f923
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue