okfde / django-filingcabinet

PDF document viewer Django app
13 stars 4 forks source link

🥅 Catch exception in pdflib page.lines #38

Closed pajowu closed 1 year ago

pajowu commented 1 year ago

If pdflib.lines fails (in our case it throws an exception because of a unicode error?), fall back to using pypdf to extract the text