mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
PDF Output: Change call to get_printer to correct get_pdf_printer.
This commit is contained in:
parent
47aeaf10b6
commit
089d367942
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ def insert_cover(self):
|
|||
if self.cover_data is None:
|
||||
return
|
||||
item_path = os.path.join(self.tmp_path, 'cover.pdf')
|
||||
printer = self.get_printer()
|
||||
printer = self.get_pdf_printer()
|
||||
printer.setOutputFileName(item_path)
|
||||
self.combine_queue.insert(0, item_path)
|
||||
p = QPixmap()
|
||||
|
|
|
|||
Loading…
Reference in a new issue