Little bug in getting commits behind introduced by requests merge

This commit is contained in:
rembo10
2014-04-06 17:15:26 -07:00
parent 8cdc48f33f
commit 150a49fb51

View File

@@ -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: