mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 23:23:46 +02:00
...
This commit is contained in:
parent
a69bfb66a9
commit
514e8f479a
1 changed files with 1 additions and 1 deletions
|
|
@ -1425,7 +1425,7 @@ def add_format(self, index, format, stream, index_is_id=False, path=None,
|
|||
size=stream.tell()
|
||||
self.conn.execute('INSERT OR REPLACE INTO data (book,format,uncompressed_size,name) VALUES (?,?,?,?)',
|
||||
(id, format.upper(), size, name))
|
||||
self.dirtied([id], commit=False)
|
||||
self.update_last_modified([id], commit=False)
|
||||
self.conn.commit()
|
||||
self.format_filename_cache[id][format.upper()] = name
|
||||
self.refresh_ids([id])
|
||||
|
|
|
|||
Loading…
Reference in a new issue