chrisglass/xhtml2pdf — pull request #182 by davidfischer (2014-04-18 22:37:30+00:00)
Title: Add a PIL compatibility check

Pillow uses `tobytes` but PIL only has the `tostring` method (which throws a DeprecationWarning on Pillow). This checks and uses the appropriate method.