mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 17:36:20 +01:00
IGN:...
This commit is contained in:
parent
92b6543433
commit
917cbdf348
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ def extract_tarball(tar, destdir):
|
|||
try:
|
||||
tarfile.open(fileobj=tar, mode='r').extractall(destdir)
|
||||
except: # tarfile.py on Fedora 9 is buggy
|
||||
subprocess.check_call(['tar', 'xvjf', tar.name, destdir])
|
||||
subprocess.check_call(['tar', 'xvjf', tar.name, '-C', destdir])
|
||||
else:
|
||||
tarfile.open(tar, 'r').extractall(destdir)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue