Skip to content

Commit

Permalink
fix package name
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Jun 20, 2024
1 parent ab96a34 commit fba60a5
Show file tree
Hide file tree
Showing 2 changed files with 263 additions and 2 deletions.
261 changes: 261 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/scan_pdf/combine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

import PyPDF2
import pypdf

logger = logging.getLogger(__name__)

Expand All @@ -13,7 +13,7 @@ def combine(self, page_file_names):
output_file_name = self.options.output_file_name[0]
logger.info("combine %d pages into %s", len(page_file_names), output_file_name)

merger = PyPDF2.PdfMerger()
merger = pypdf.PdfMerger()

for pdf in page_file_names:
merger.append(pdf)
Expand Down

0 comments on commit fba60a5

Please sign in to comment.