Skip to content

Commit

Permalink
fixup! [feature] Add support for zlib files
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Dec 26, 2023
1 parent 7d20b26 commit 64eae0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ratarmountcore/SQLiteIndexedTar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ def _createIndexRecursively(
tarInfo = None

fname = os.path.basename(self.tarFileName)
for suffix in ['.gz', '.bz2', '.bzip2', '.gzip', '.xz', '.zst', '.zstd']:
for suffix in ['.gz', '.bz2', '.bzip2', '.gzip', '.xz', '.zst', '.zstd', '.zz', '.zlib']:
if fname.lower().endswith(suffix) and len(fname) > len(suffix):
fname = fname[: -len(suffix)]
break
Expand Down

0 comments on commit 64eae0b

Please sign in to comment.