mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
This commit is contained in:
parent
1c24785e68
commit
b45bcc9ea3
@ -745,7 +745,7 @@ class Main(MainWindow, Ui_MainWindow):
|
||||
#############################View book######################################
|
||||
|
||||
def view_format(self, row, format):
|
||||
pt = PersistentTemporaryFile('_viewer')
|
||||
pt = PersistentTemporaryFile('_viewer.'+format.lower())
|
||||
pt.write(self.library_view.model().db.format(row, format))
|
||||
pt.close()
|
||||
self.persistent_files.append(pt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user