From 150a49fb51e172316880bbca7688c8150075c358 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Sun, 6 Apr 2014 17:15:26 -0700 Subject: [PATCH] Little bug in getting commits behind introduced by requests merge --- headphones/versioncheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/versioncheck.py b/headphones/versioncheck.py index ee8c40b6..0a9aaed7 100644 --- a/headphones/versioncheck.py +++ b/headphones/versioncheck.py @@ -144,7 +144,7 @@ def checkGithub(): logger.warn('Could not get commits behind from GitHub.') return headphones.CURRENT_VERSION - headphones.COMMITS_BEHIND = int(git['behind_by']) + headphones.COMMITS_BEHIND = int(commits['behind_by']) logger.debug("In total, %d commits behind", headphones.COMMITS_BEHIND) if headphones.COMMITS_BEHIND > 0: