mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix minor multiple location ondevice bug
This commit is contained in:
parent
ef0af86b19
commit
721b48038e
@ -1123,12 +1123,12 @@ class DeviceGUI(object):
|
||||
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…
x
Reference in New Issue
Block a user