mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
73f3a38211
commit
aa1317751d
@ -360,7 +360,7 @@ else:
|
||||
if hasattr(tar, 'read'):
|
||||
subprocess.check_call(['tar', 'xjf', tar.name, '-C', destdir])
|
||||
else:
|
||||
tarfile.open(tar, 'r').extractall(destdir)
|
||||
subprocess.check_call(['tar', 'xjf', tar, '-C', destdir])
|
||||
|
||||
def main():
|
||||
defdir = '/opt/calibre'
|
||||
|
Loading…
x
Reference in New Issue
Block a user