From a37ce75038eacdcd271f68fd95a6f0987b2bf964 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 9 Apr 2014 19:39:09 -0700 Subject: [PATCH] Bug fix to return latest version available rather than None --- headphones/versioncheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/versioncheck.py b/headphones/versioncheck.py index fd79dca9..ff42e894 100644 --- a/headphones/versioncheck.py +++ b/headphones/versioncheck.py @@ -134,7 +134,7 @@ def checkGithub(): # See how many commits behind we are if not headphones.CURRENT_VERSION: logger.info('You are running an unknown version of Headphones. Run the updater to identify your version') - return headphones.CURRENT_VERSION + return headphones.LATEST_VERSION logger.info('Comparing currently installed version with latest GitHub version') url = 'https://api.github.com/repos/%s/headphones/compare/%s...%s' % (headphones.GIT_USER, headphones.CURRENT_VERSION, headphones.LATEST_VERSION)