diff --git a/oml/media/pdf.py b/oml/media/pdf.py index 13300a1..5790bac 100644 --- a/oml/media/pdf.py +++ b/oml/media/pdf.py @@ -9,7 +9,7 @@ import os import shutil from glob import glob -from pyPdf import PdfFileReader +from PyPDF2 import PdfFileReader import stdnum.isbn import settings diff --git a/requirements-shared.txt b/requirements-shared.txt index 868023e..91bfdcc 100644 --- a/requirements-shared.txt +++ b/requirements-shared.txt @@ -4,4 +4,4 @@ chardet html5lib ox python-stdnum==0.9 -pyPdf==1.13 +PyPDF2==1.23