Skip to content

Commit 02261a0

Browse files
committed
fix(lzo): lzop decompression command refuse to decompress files without a '.lzo' suffix unless the '-f|--force' command line switch is provided twice.
1 parent 8e821c1 commit 02261a0

File tree

1 file changed

+1
-1
lines changed
  • unblob/handlers/compression

1 file changed

+1
-1
lines changed

unblob/handlers/compression/lzo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class LZOHandler(StructHandler):
7575
"""
7676
HEADER_STRUCT = "lzo_header"
7777

78-
EXTRACTOR = Command("lzop", "-d", "-f", "-N", "-p{outdir}", "{inpath}")
78+
EXTRACTOR = Command("lzop", "-d", "-f", "-f", "-N", "-p{outdir}", "{inpath}")
7979

8080
def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]:
8181

0 commit comments

Comments
 (0)