Only one of the categories can match

This commit is contained in:
Timothy Legge 2011-07-14 21:02:08 -03:00
parent e6b8100fce
commit debc84b240

View File

@ -693,10 +693,10 @@ class KOBO(USBMS):
if category in readstatuslist.keys(): if category in readstatuslist.keys():
# Manage ReadStatus # Manage ReadStatus
self.set_readstatus(connection, ContentID, readstatuslist.get(category)) 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 # Manage FavouritesIndex/Shortlist
self.set_favouritesindex(connection, ContentID) self.set_favouritesindex(connection, ContentID)
if category in accessibilitylist.keys(): elif category in accessibilitylist.keys():
# Do not manage the Accessibility List # Do not manage the Accessibility List
pass pass
else: # No collections else: # No collections