mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:53:27 +02:00
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:
parent
3b466e69e6
commit
e98ed60d2d
1 changed files with 1 additions and 1 deletions
|
|
@ -1711,7 +1711,7 @@ def upload_books(self, files, names, on_card=None, end_session=True,
|
|||
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 +
|
||||
|
|
|
|||
Loading…
Reference in a new issue