Skip to content

Commit c3e1ad3

Browse files
author
Joshua Thomas Przyborowski
authored
Add files via upload
1 parent ef6f89c commit c3e1ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycatfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3557,9 +3557,9 @@ def UncompressArchiveFile(fp, formatspecs=__file_format_dict__):
35573557
catfp = lzma.LZMAFile(fp)
35583558
elif(compresscheck == "zlib" and compresscheck in compressionsupport):
35593559
catfp = ZlibFile(fileobj=fp, mode="rb")
3560-
if(compresscheck == "catfile" or compresscheck == formatspecs['format_lower']):
3560+
elif(compresscheck == "catfile" or compresscheck == formatspecs['format_lower']):
35613561
catfp = fp
3562-
if(not compresscheck):
3562+
elif(not compresscheck):
35633563
catfp = BytesIO()
35643564
with fp as fpcontent:
35653565
try:

0 commit comments

Comments
 (0)