mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-27 06:17:22 +01:00
This commit is contained in:
parent
1c24785e68
commit
b45bcc9ea3
1 changed files with 1 additions and 1 deletions
|
|
@ -745,7 +745,7 @@ def book_converted(self, id, description, result, exception, formatted_traceback
|
|||
#############################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…
Reference in a new issue