Skip to content

Commit efb6010

Browse files
author
Kazuki Suzuki Przyborowski
authored
Update pyarchivefile.py
1 parent be9eb1b commit efb6010

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyarchivefile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4155,6 +4155,8 @@ def CheckCompressionType(infile, formatspecs=__file_format_multi_dict__, closefp
41554155
filetype = "zlib"
41564156
elif(prefp == binascii.unhexlify("78da")):
41574157
filetype = "zlib"
4158+
elif(prefp == binascii.unhexlify("1f9d")):
4159+
filetype = "compress"
41584160
fp.seek(0, 0)
41594161
prefp = fp.read(3)
41604162
if(prefp == binascii.unhexlify("425a68")):

0 commit comments

Comments
 (0)