From e755e717b15d4e3e7aace2de350121d008b2feff Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Tue, 23 Apr 2019 15:59:03 -0700 Subject: [PATCH] Restored code. --- hifi_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)