mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 03:14:41 +02:00
Only one of the categories can match
This commit is contained in:
parent
e6b8100fce
commit
debc84b240
1 changed files with 2 additions and 2 deletions
|
|
@ -693,10 +693,10 @@ def update_device_database_collections(self, booklists, collections_attributes,
|
|||
if category in readstatuslist.keys():
|
||||
# Manage ReadStatus
|
||||
self.set_readstatus(connection, ContentID, readstatuslist.get(category))
|
||||
if category == 'Shortlist' and self.dbversion >= 14:
|
||||
elif category == 'Shortlist' and self.dbversion >= 14:
|
||||
# Manage FavouritesIndex/Shortlist
|
||||
self.set_favouritesindex(connection, ContentID)
|
||||
if category in accessibilitylist.keys():
|
||||
elif category in accessibilitylist.keys():
|
||||
# Do not manage the Accessibility List
|
||||
pass
|
||||
else: # No collections
|
||||
|
|
|
|||
Loading…
Reference in a new issue