Commit 280ebd5b authored by Amrita's avatar Amrita
Browse files

remove commented code

parent e39bd090
......@@ -16,7 +16,6 @@ from multiprocessing import Pool # multi processing
from functools import partial
from wand.image import Image as wi # PDF to images
from PIL import Image, ImageDraw, ImageFont # Image handling
#from PyPDF2 import PdfFileMerger, PdfFileReader # PDF handling
from pikepdf import Pdf #combining PDFs
from glob import glob #combining PDFs
......@@ -156,8 +155,6 @@ def combine_all_pdfs(pdf_pages, out_dir):
for pdf_page in pdf_pages:
src = Pdf.open(pdf_page)
mergedObject.pages.extend(src.pages)
#mergedObject.append(PdfFileReader(pdf_page, 'rb'))
#os.remove(pdf_page)
# Create file name of merged PDF
pdf_name = os.path.basename(pdf_pages[0]) # remove full path
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment