Skip to content

Commit 1e20dcf

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pycatfile.py
1 parent 925c27e commit 1e20dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycatfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3259,7 +3259,7 @@ def UncompressArchiveFile(fp, formatspecs=__file_format_dict__):
32593259
elif(compresscheck == "zstd" and compresscheck in compressionsupport):
32603260
catfp = zstd.ZstdDecompressor().stream_reader(fp)
32613261
elif(compresscheck == "lz4" and compresscheck in compressionsupport):
3262-
catfp = lz4.frame.open_fp(fp, mode='rb')
3262+
catfp = lz4.frame.LZ4FrameFile(fp, mode='rb')
32633263
elif((compresscheck == "lzo" or compresscheck == "lzop") and compresscheck in compressionsupport):
32643264
catfp = BytesIO()
32653265
catfp.write(lzo.decompress(fp.read()))

0 commit comments

Comments
 (0)