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 Jun 26, 2019
1 parent 3b59dfb commit 16800c9
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 16800c9

Please sign in to comment.