mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Upgrading PyPDF2 to pypdf.
This commit is contained in:
parent
7bba6555ca
commit
e1920d1c0b
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Pillow==9.5.0
|
||||
Pint==0.21
|
||||
PyPDF2[crypto]==3.0.1
|
||||
pypdf==3.12.1
|
||||
PyYAML==6.0
|
||||
SQLAlchemy[asyncio]==1.3.22
|
||||
aiohttp==3.8.4
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ from wrolpi.files.models import FileGroup
|
|||
from wrolpi.vars import FILE_MAX_PDF_SIZE, PYTEST, FILE_MAX_TEXT_SIZE
|
||||
|
||||
try:
|
||||
from PyPDF2 import PdfReader
|
||||
from pypdf import PdfReader
|
||||
except ImportError:
|
||||
PdfReader = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue