Bug #1100607: Update size when sending book to Kobo device

- Incorrectly did check on on metadata management. Files size update and deleted row check needs to be done all the time.
This commit is contained in:
davidfor 2013-01-18 09:14:37 +11:00
parent 3b466e69e6
commit e98ed60d2d

View File

@ -1711,7 +1711,7 @@ class KOBOTOUCH(KOBO):
result = super(KOBOTOUCH, self).upload_books(files, names, on_card, end_session, metadata)
# debug_print('KoboTouch:upload_books - result=', result)
if self.dbversion >= 53 and prefs['manage_device_metadata'] == 'on_connect':
if self.dbversion >= 53:
import sqlite3 as sqlite
try:
with closing(sqlite.connect(self.normalize_path(self._main_prefix +