diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-05-26 07:50:44 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-05-26 07:50:44 +0200 |
commit | 9330c1bda8d8a2f07e7b5433fd2fd39fea3b7224 (patch) | |
tree | f6c47a012cb17761762c5d9a772f01605925676c | |
parent | a7a7cd476fddfe84de1467a96d8cfad5843db09b (diff) | |
download | debian-dedup-9330c1bda8d8a2f07e7b5433fd2fd39fea3b7224.tar.gz |
compression: make zstd actually work
-rw-r--r-- | dedup/compression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dedup/compression.py b/dedup/compression.py index 742d7fd..4cf5b0d 100644 --- a/dedup/compression.py +++ b/dedup/compression.py @@ -202,7 +202,7 @@ decompressors = { } if zstandard is not None: - decompressors[".zst"] = zstandard.ZstdDecompressor + decompressors[".zst"] = zstandard.ZstdDecompressor().decompressobj def decompress(filelike: typing.BinaryIO, extension: str) -> typing.BinaryIO: |