summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gamechestcli/gamechest/runners/extract.py4
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,