mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 03:54:28 +02:00
...
This commit is contained in:
parent
04ccd041e9
commit
37eadd1c10
1 changed files with 6 additions and 1 deletions
|
|
@ -568,7 +568,12 @@ def metadata_for_field(self, key):
|
|||
|
||||
def dump_metadata(self, book_ids=None, remove_from_dirtied=True,
|
||||
commit=True, dump_to=None):
|
||||
'Write metadata for each record to an individual OPF file'
|
||||
'''
|
||||
Write metadata for each record to an individual OPF file
|
||||
|
||||
:param dump_to: None or list. If list then instead of writing to file,
|
||||
data is append to list
|
||||
'''
|
||||
if book_ids is None:
|
||||
book_ids = [x[0] for x in self.conn.get(
|
||||
'SELECT book FROM metadata_dirtied', all=True)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue