StringIO
parent
44653071c3
commit
e28b75a462
|
@ -220,7 +220,7 @@ class PDFContentParser(PSStackParser):
|
||||||
data = strm.get_data()
|
data = strm.get_data()
|
||||||
if isinstance(data, bytes):
|
if isinstance(data, bytes):
|
||||||
data = data.decode('latin-1')
|
data = data.decode('latin-1')
|
||||||
self.fp = io.StringIO(data)
|
self.fp = StringIO(data)
|
||||||
return
|
return
|
||||||
|
|
||||||
def seek(self, pos):
|
def seek(self, pos):
|
||||||
|
|
Loading…
Reference in New Issue