Closed craigds closed 10 months ago
I think when mapnik.printing switched from PyPDF to PyPDF2 it caused this error:
mapnik.printing
E AttributeError: 'DictionaryObject' object has no attribute 'has_key'
This change fixes the error. String keys work just fine for these objects, you don't need to wrap them in NameObject()
looks like this has been fixed in 0697787e1a0d533633a75da54ea4dfd8eb6fd674
I think when
mapnik.printing
switched from PyPDF to PyPDF2 it caused this error:This change fixes the error. String keys work just fine for these objects, you don't need to wrap them in NameObject()