mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-17 03:45:19 +01:00
Possible fix for bug #2738.
This commit is contained in:
parent
f9b51db519
commit
be1b29d35b
1 changed files with 3 additions and 0 deletions
|
|
@ -183,6 +183,9 @@ def get_size(obj):
|
|||
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…
Reference in a new issue