diff --git a/hifi_utils.py b/hifi_utils.py index d117011c99..24e43dc83c 100644 --- a/hifi_utils.py +++ b/hifi_utils.py @@ -118,6 +118,6 @@ def downloadAndExtract(url, destPath, hash=None, hasher=hashlib.sha512(), isZip= zip.extractall(destPath) else: # Extract the archive - with tarfile.open(tempFileName, 'r:*') as tgz: + with tarfile.open(tempFileName, 'r:gz') as tgz: tgz.extractall(destPath) os.remove(tempFileName)