updated pdfjs

This commit is contained in:
2021-04-08 11:17:40 +01:00
parent ed87bc7714
commit 0929581892
6 changed files with 43858 additions and 54752 deletions

View File

@@ -265,7 +265,7 @@ class ComicBook(models.Model):
pdf_file = None
if not cbx:
try:
pdf_file = PyPDF4.PdfFileReader(comic_full_path)
pdf_file = PyPDF4.PdfFileReader(str(comic_full_path))
except PyPDF4.utils.PyPdfError:
pass
if not pdf_file and not cbx: