mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-04 08:12:00 -04:00
...
This commit is contained in:
parent
cb56da890c
commit
54dfc86710
@ -161,7 +161,7 @@ def install_grype() -> str:
|
||||
with tarfile.open(fileobj=io.BytesIO(data), mode='r') as tf:
|
||||
tf.extract('grype', path=dest, filter='fully_trusted')
|
||||
exe = os.path.join(dest, 'grype')
|
||||
subprocess.run([exe, 'db', 'update'])
|
||||
subprocess.check_call([exe, 'db', 'update'])
|
||||
return exe
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user