diff --git a/oloturia2pdf.py b/oloturia2pdf.py index 47db65f..80a77f0 100755 --- a/oloturia2pdf.py +++ b/oloturia2pdf.py @@ -283,7 +283,11 @@ def main(): pdfWriter.addPage(indpag) #Aggiungere pagina finale - pdfWriter.addBlankPage() + #pdfWriter.addBlankPage() + pdfFileObj = open("quarta.pdf", 'rb') + pdfReader = PyPDF2.PdfFileReader(pdfFileObj) + pageObj = pdfReader.getPage(0) + pdfWriter.addPage(pageObj) book_name = os.path.join('books', 'book' + str(book_num).zfill(2) + '.pdf') with open(book_name, 'wb') as pdfOutput: diff --git a/quarta.pdf b/quarta.pdf new file mode 100644 index 0000000..c8bdf90 Binary files /dev/null and b/quarta.pdf differ