Fixed: #56 (with a derpy fix)
parent
bb866ae148
commit
81391c09f4
|
@ -50,7 +50,7 @@ class PDFPage(object):
|
|||
self.pageid = pageid
|
||||
self.attrs = dict_value(attrs)
|
||||
self.lastmod = resolve1(self.attrs.get('LastModified'))
|
||||
self.resources = resolve1(self.attrs['Resources'])
|
||||
self.resources = resolve1(self.attrs.get('Resources', dict()))
|
||||
self.mediabox = resolve1(self.attrs['MediaBox'])
|
||||
if 'CropBox' in self.attrs:
|
||||
self.cropbox = resolve1(self.attrs['CropBox'])
|
||||
|
|
Loading…
Reference in New Issue