mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-06 11:49:31 +01:00
Return latest version from github rather than current version
This commit is contained in:
@@ -142,7 +142,7 @@ def checkGithub():
|
||||
|
||||
if commits is None:
|
||||
logger.warn('Could not get commits behind from GitHub.')
|
||||
return headphones.CURRENT_VERSION
|
||||
return headphones.LATEST_VERSION
|
||||
|
||||
try:
|
||||
headphones.COMMITS_BEHIND = int(commits['behind_by'])
|
||||
|
||||
Reference in New Issue
Block a user