mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
aa62a13cf0
commit
a8b5d497fc
@ -693,11 +693,12 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
|
||||
@synchronous('sync_lock')
|
||||
def sync_booklists(self, booklists, end_session=True):
|
||||
self._debug()
|
||||
collections = [x.strip() for x in
|
||||
colattrs = [x.strip() for x in
|
||||
self.settings().extra_customization[self.OPT_COLLECTIONS].split(',')]
|
||||
collections = booklists[0].get_collections(collections)
|
||||
self._debug('collection attributes', colattrs)
|
||||
coldict = {}
|
||||
if colattrs:
|
||||
collections = booklists[0].get_collections(colattrs)
|
||||
for k,v in collections.iteritems():
|
||||
lpaths = []
|
||||
for book in v:
|
||||
|
Loading…
x
Reference in New Issue
Block a user