diff options
author | vg <vgm+dev@devys.org> | 2024-03-05 00:25:39 +0100 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2024-03-05 00:25:39 +0100 |
commit | 3a950c09e2000a5e14ed31050e96a3fb26e1aa09 (patch) | |
tree | 16c8d296460b71b94ed1263846efc17d919503ac | |
parent | acfb50b34a85b5cb60e743824663d3fe8af78e26 (diff) | |
download | gamechest-3a950c09e2000a5e14ed31050e96a3fb26e1aa09.tar.gz gamechest-3a950c09e2000a5e14ed31050e96a3fb26e1aa09.tar.bz2 gamechest-3a950c09e2000a5e14ed31050e96a3fb26e1aa09.zip |
git-sync on dita
-rw-r--r-- | gamechestcli/gamechest/runners/extract.py | 4 |
1 files changed, 1 insertions, 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, |