Skip to content

Commit

Permalink
ppt_parser: fix type of decompressed data
Browse files Browse the repository at this point in the history
Another py2/py3-error: returned data is str in py2, bytes in py3
  • Loading branch information
christian-intra2net committed Jul 9, 2019
1 parent 50ec5ee commit 90b6b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oletools/ppt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ def iterative_decompress(stream, size, chunk_size=4096):

decompressor = zlib.decompressobj()
n_read = 0
decomp = ''
decomp = b''
return_err = None

try:
Expand Down

0 comments on commit 90b6b0a

Please sign in to comment.