From a1ed6901d4dc1fc9067adeb03d788ac8d6897467 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 9 Apr 2014 18:52:31 -0700 Subject: [PATCH] Possible fix for zip not updating --- headphones/versioncheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/versioncheck.py b/headphones/versioncheck.py index 17afc19b..c30114a9 100644 --- a/headphones/versioncheck.py +++ b/headphones/versioncheck.py @@ -182,14 +182,14 @@ def update(): update_dir = os.path.join(headphones.PROG_DIR, 'update') version_path = os.path.join(headphones.PROG_DIR, 'version.txt') - logger.info('Downloading update from: '+tar_download_url) + logger.info('Downloading update from: '+ tar_download_url) data = request.request_content(tar_download_url) if not data: logger.error("Unable to retrieve new version from '%s', can't update", tar_download_url) return - download_name = data.geturl().split('/')[-1] + download_name = headphones.GIT_BRANCH + '-github' tar_download_path = os.path.join(headphones.PROG_DIR, download_name) # Save tar to disk