From 3a950c09e2000a5e14ed31050e96a3fb26e1aa09 Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 5 Mar 2024 00:25:39 +0100 Subject: git-sync on dita --- gamechestcli/gamechest/runners/extract.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gamechestcli/gamechest/runners/extract.py b/gamechestcli/gamechest/runners/extract.py index 6f13d89..4e538ef 100644 --- a/gamechestcli/gamechest/runners/extract.py +++ b/gamechestcli/gamechest/runners/extract.py @@ -14,8 +14,6 @@ class Extract(RunnerBase): _progress_re = re.compile(r'^\s*(\S+)\s+\[([^]]+)/s\]\s+ETA\s+(\S+)\s*$') def __init__(self, src, dst): - import sys - print('src', src, 'dst', dst, file=sys.stderr) common_parameters = dict( encoding='utf8', env={**os.environ, @@ -43,7 +41,7 @@ class Extract(RunnerBase): if first_word_magic == 0x4c5a4950: # lzip magic if os.path.exists(plzip_command): uncompress_command_to_use = [plzip_command, '--decompress'] - elif first_word_magic == 0x28B52FFD: + elif first_word_magic == 0x28B52FFD: # zstd magic uncompress_command_to_use = ['zstd', '-T0', '-d', '--stdout'] self.zip_proc = subprocess.Popen( uncompress_command_to_use, -- cgit v1.2.3