mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Possible fix for bug #2738.
This commit is contained in:
parent
f9b51db519
commit
be1b29d35b
@ -183,6 +183,9 @@ class PRS505(CLI, Device):
|
||||
return zip(paths, sizes, ctimes, cycle([on_card]))
|
||||
|
||||
def add_books_to_metadata(self, locations, metadata, booklists):
|
||||
if not locations or not metadata:
|
||||
return
|
||||
|
||||
metadata = iter(metadata)
|
||||
for location in locations:
|
||||
info = metadata.next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user