laws-africa / peachjam

Project Peach Jam
https://agp.africanlii.org
GNU General Public License v3.0
2 stars 0 forks source link

TypeError: expected str, bytes or os.PathLike object, not NoneType #1855

Closed sentry-io[bot] closed 3 weeks ago

sentry-io[bot] commented 4 weeks ago

Sentry Issue: LII-1MH

TypeError: expected str, bytes or os.PathLike object, not NoneType
(1 additional frame(s) were not displayed)
...
  File "kenyalaw/adapters.py", line 171, in update_document
    self.download_source_pdf(
  File "kenyalaw/adapters.py", line 299, in download_source_pdf
    filename = os.path.splitext(filename)[0] + ".pdf"