From 8fc02ccdb092434de5e921b8230cee1a8570c018 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 9 Jul 2011 17:35:58 -0600 Subject: [PATCH] ... --- src/calibre/devices/kobo/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index d58049f801..b396032aea 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -631,7 +631,7 @@ class KOBO(USBMS): try: cursor.execute('update content set FavouritesIndex=1 where BookID is Null and ContentID = ?', t) - except: + except Exception as e: debug_print(' Database Exception: Unable set book as Shortlist') if 'no such column' not in str(e): raise