From aba4bae39eb4780681f58d770cceb1dd66739b72 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Fri, 11 Apr 2014 17:54:30 +0200 Subject: [PATCH] Comparing against remote branch should be master...local_version, instead the other way around --- headphones/versioncheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/versioncheck.py b/headphones/versioncheck.py index 066a9713..d8ab0f87 100644 --- a/headphones/versioncheck.py +++ b/headphones/versioncheck.py @@ -137,7 +137,7 @@ def checkGithub(): 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) + url = 'https://api.github.com/repos/%s/headphones/compare/%s...%s' % (headphones.GIT_USER, headphones.LATEST_VERSION, headphones.CURRENT_VERSION) commits = request.request_json(url, timeout=20, whitelist_status_code=404, validator=lambda x: type(x) == dict) if commits is None: