mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d4f8229cba
commit
aa8344c7d7
@ -227,7 +227,7 @@ class EmailMixin(object): # {{{
|
|||||||
for id in _auto_ids:
|
for id in _auto_ids:
|
||||||
if specific_format == None:
|
if specific_format == None:
|
||||||
dbfmts = self.library_view.model().db.formats(id, index_is_id=True)
|
dbfmts = self.library_view.model().db.formats(id, index_is_id=True)
|
||||||
formats = [f.lower() for f in (dbfmts.split(',') if fmts else
|
formats = [f.lower() for f in (dbfmts.split(',') if dbfmts else
|
||||||
[])]
|
[])]
|
||||||
if list(set(formats).intersection(available_input_formats())) != [] and list(set(fmts).intersection(available_output_formats())) != []:
|
if list(set(formats).intersection(available_input_formats())) != [] and list(set(fmts).intersection(available_output_formats())) != []:
|
||||||
auto.append(id)
|
auto.append(id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user