mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
PRS Drivers: Don't error out if user sets collection generating metadata to None
This commit is contained in:
parent
ea73ba22b6
commit
97c6110867
@ -165,7 +165,8 @@ class PRS505(CLI, Device):
|
|||||||
name = name[1:]
|
name = name[1:]
|
||||||
|
|
||||||
opts = self.settings()
|
opts = self.settings()
|
||||||
booklists[blist].add_book(info, name, opts.extra_customization.split(','), *location[1:-1])
|
collections = opts.extra_customization.split(',') if opts.extra_customization else []
|
||||||
|
booklists[blist].add_book(info, name, collections, *location[1:-1])
|
||||||
fix_ids(*booklists)
|
fix_ids(*booklists)
|
||||||
|
|
||||||
def delete_books(self, paths, end_session=True):
|
def delete_books(self, paths, end_session=True):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user