mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 18:46:53 +00:00
updated pdfjs
This commit is contained in:
1 parent
ed87bc7714
commit
0929581892
6 files changed
+43839
-54733
No files matched your search
+1
-1
@@ -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