mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR revisions supporting Save to disk for .mbp, .tan
This commit is contained in:
parent
2c7da9966c
commit
4f1f7a0a6e
@ -1074,11 +1074,9 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
mi.comments = unicode(user_notes_soup.prettify())
|
mi.comments = unicode(user_notes_soup.prettify())
|
||||||
# Update library comments
|
# Update library comments
|
||||||
self.db.set_comment(id, mi.comments)
|
self.db.set_comment(id, mi.comments)
|
||||||
'''
|
|
||||||
# Add bookmark file to id
|
# Add bookmark file to id
|
||||||
self.db.add_format_with_hooks(id, bm.bookmark.bookmark_extension,
|
self.db.add_format_with_hooks(id, bm.bookmark.bookmark_extension,
|
||||||
bm.bookmark.path, index_is_id=True)
|
bm.bookmark.path, index_is_id=True)
|
||||||
'''
|
|
||||||
self.update_progress.emit(i)
|
self.update_progress.emit(i)
|
||||||
self.update_done.emit()
|
self.update_done.emit()
|
||||||
self.done_callback(self.am.keys())
|
self.done_callback(self.am.keys())
|
||||||
@ -1522,7 +1520,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
if single_format is not None:
|
if single_format is not None:
|
||||||
opts.formats = single_format
|
opts.formats = single_format
|
||||||
# Special case for Kindle annotation files
|
# 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.to_lowercase = False
|
||||||
opts.save_cover = False
|
opts.save_cover = False
|
||||||
opts.write_opf = False
|
opts.write_opf = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user