From 7e88207f8e58d2b81fca67fe371de3670e6e57d4 Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Fri, 10 May 2024 06:06:57 -0700 Subject: [PATCH] PdfFileMerger => PdfMerger --- jcvi/formats/pdf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jcvi/formats/pdf.py b/jcvi/formats/pdf.py index b98b122b..abe4a010 100644 --- a/jcvi/formats/pdf.py +++ b/jcvi/formats/pdf.py @@ -8,7 +8,7 @@ from natsort import natsorted -from pypdf import PdfFileMerger, parse_filename_page_ranges +from pypdf import PdfMerger, parse_filename_page_ranges from pypdf.pagerange import PageRange from ..apps.base import ActionDispatcher, OptionParser, cleanup, logger @@ -77,7 +77,7 @@ def cat(args): filename_page_ranges = parse_filename_page_ranges(args) nfiles = len(filename_page_ranges) - merger = PdfFileMerger() + merger = PdfMerger() with must_open(outfile, "wb") as fw: in_fs = {} try: