chrisglass/xhtml2pdf — pull request #187 by steinbro (2014-05-04 21:42:00+00:00)
Title: Handle uri=None In pisaFileObject.__init__()

I kept getting the cryptic error message "'NoneType' object has no attribute 'encode'" while working with the django-easy-pdf package. I traced the issue back to this edge case in xhtml2pdf.