From a0c6569eafe9b87e009998c34a4aeae4241f43c3 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Fri, 9 Feb 2018 11:50:51 -0700 Subject: [PATCH] Fix issue #12 The download no longer gets wrapped in a gzip archive. --- .bin/Scripts/functions/update.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.bin/Scripts/functions/update.py b/.bin/Scripts/functions/update.py index afaa59bd..86048065 100644 --- a/.bin/Scripts/functions/update.py +++ b/.bin/Scripts/functions/update.py @@ -757,17 +757,13 @@ def update_treesizefree(): # Download download_to_temp( - 'treesizefree.zip.gz', SOURCE_URLS['TreeSizeFree']) + 'treesizefree.zip', SOURCE_URLS['TreeSizeFree']) # Extract files - ## NOTE: When downloaded using requests it is a .zip.gz? - source = r'{}\treesizefree.zip.gz'.format(global_vars['TmpDir']) - extract_generic(source, global_vars['TmpDir']) extract_temp_to_cbin('treesizefree.zip', 'TreeSizeFree') # Cleanup remove_from_temp('treesizefree.zip') - remove_from_temp('treesizefree.zip.gz') def update_xmplay(): # Stop running processes