mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 21:57:11 +01:00
IGN:...
This commit is contained in:
parent
73f3a38211
commit
aa1317751d
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ def extract_tarball(tar, destdir):
|
|||
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…
Reference in a new issue