mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 08:35:32 +01:00
Little bug in getting commits behind introduced by requests merge
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user