mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
updated pdfjs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user