mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:53:51 +02:00
Fix minor multiple location ondevice bug
This commit is contained in:
parent
ef0af86b19
commit
721b48038e
1 changed files with 2 additions and 2 deletions
|
|
@ -1123,12 +1123,12 @@ def book_on_device(self, id, format=None, reset=False):
|
|||
if cache:
|
||||
if id in cache['db_ids']:
|
||||
loc[i] = True
|
||||
break
|
||||
continue
|
||||
if mi.authors and \
|
||||
re.sub('(?u)\W|[_]', '', authors_to_string(mi.authors).lower()) \
|
||||
in cache['authors']:
|
||||
loc[i] = True
|
||||
break
|
||||
continue
|
||||
return loc
|
||||
|
||||
def set_books_in_library(self, booklists, reset=False):
|
||||
|
|
|
|||
Loading…
Reference in a new issue