From debc84b2406753a2e2abf2dd033c4fc111503c2f Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Thu, 14 Jul 2011 21:02:08 -0300 Subject: [PATCH] Only one of the categories can match --- src/calibre/devices/kobo/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index ab05b683eb..17716a2588 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -693,10 +693,10 @@ class KOBO(USBMS): 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