Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored May 4, 2024
1 parent 9ffbd65 commit 6b830c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2153,8 +2153,8 @@ def CompressArchiveFile(fp, compression="auto", compressionlevel=None, formatspe
if(not hasattr(fp, "read") and not hasattr(fp, "write")):
return False;
fp.seek(0, 0);
if(not compression or compression or compression=="catfile" or compression==formatspecs[2]):
compression = None;
if(not compression or compression=="catfile" or compression==formatspecs[2]):
compression = "auto";
if(compression not in compressionlist and compression is None):
compression = "auto";
if(compression=="gzip"):
Expand Down

0 comments on commit 6b830c6

Please sign in to comment.