mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -1711,7 +1711,7 @@ class KOBOTOUCH(KOBO):
|
|||||||
result = super(KOBOTOUCH, self).upload_books(files, names, on_card, end_session, metadata)
|
result = super(KOBOTOUCH, self).upload_books(files, names, on_card, end_session, metadata)
|
||||||
# debug_print('KoboTouch:upload_books - result=', result)
|
# 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
|
import sqlite3 as sqlite
|
||||||
try:
|
try:
|
||||||
with closing(sqlite.connect(self.normalize_path(self._main_prefix +
|
with closing(sqlite.connect(self.normalize_path(self._main_prefix +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user