mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #910671 (Comms error when adding to library from Sony Reader)
This commit is contained in:
parent
f8c6606bc1
commit
87c2406cd8
@ -239,7 +239,7 @@ class PRST1(USBMS):
|
||||
|
||||
if booklists[0] is not None:
|
||||
self.update_device_database(booklists[0], collections, None)
|
||||
if booklists[1] is not None:
|
||||
if len(booklists) > 1 and booklists[1] is not None:
|
||||
self.update_device_database(booklists[1], collections, 'carda')
|
||||
|
||||
USBMS.sync_booklists(self, booklists, end_session=end_session)
|
||||
|
Loading…
x
Reference in New Issue
Block a user