diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index 9ec0ad7094..12d6b3ddef 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -556,8 +556,6 @@ class PRST1(USBMS): except: pass - description = '' - cursor = connection.cursor() query = ''' @@ -568,7 +566,7 @@ class PRST1(USBMS): publication_date = ? WHERE _id = ? ''' - t = (name, description, pubdate, book.bookId,) + t = (name, None, pubdate, book.bookId,) cursor.execute(query, t) connection.commit()