mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Handled condition when source book has no tags field.
This commit is contained in:
parent
fccdb72b8b
commit
8d30c3434a
@ -877,9 +877,11 @@ class CatalogBuilder(object):
|
||||
|
||||
this_title['prefix'] = self.discover_prefix(record)
|
||||
|
||||
this_title['tags'] = []
|
||||
if record['tags']:
|
||||
this_title['tags'] = self.filter_excluded_genres(record['tags'],
|
||||
self.opts.exclude_genre)
|
||||
|
||||
if record['formats']:
|
||||
formats = []
|
||||
for format in record['formats']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user