From 64eae0bba3528c2999b21e08632f6574ebe82089 Mon Sep 17 00:00:00 2001 From: Maximilian Knespel Date: Tue, 26 Dec 2023 16:34:49 +0100 Subject: [PATCH] fixup! [feature] Add support for zlib files --- core/ratarmountcore/SQLiteIndexedTar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ratarmountcore/SQLiteIndexedTar.py b/core/ratarmountcore/SQLiteIndexedTar.py index 169344d0..27d1c5bc 100644 --- a/core/ratarmountcore/SQLiteIndexedTar.py +++ b/core/ratarmountcore/SQLiteIndexedTar.py @@ -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