mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
GwR revisions supporting Save to disk for .mbp, .tan
This commit is contained in:
parent
2c7da9966c
commit
4f1f7a0a6e
1 changed files with 1 additions and 3 deletions
|
|
@ -1074,11 +1074,9 @@ def run(self):
|
|||
mi.comments = unicode(user_notes_soup.prettify())
|
||||
# Update library comments
|
||||
self.db.set_comment(id, mi.comments)
|
||||
'''
|
||||
# Add bookmark file to id
|
||||
self.db.add_format_with_hooks(id, bm.bookmark.bookmark_extension,
|
||||
bm.bookmark.path, index_is_id=True)
|
||||
'''
|
||||
self.update_progress.emit(i)
|
||||
self.update_done.emit()
|
||||
self.done_callback(self.am.keys())
|
||||
|
|
@ -1522,7 +1520,7 @@ def save_to_disk(self, checked, single_dir=False, single_format=None):
|
|||
if single_format is not None:
|
||||
opts.formats = single_format
|
||||
# Special case for Kindle annotation files
|
||||
if single_format.lower() == 'mbp' or single_format == 'tan':
|
||||
if single_format.lower() in ['mbp','tan']:
|
||||
opts.to_lowercase = False
|
||||
opts.save_cover = False
|
||||
opts.write_opf = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue