mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 17:04:01 +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:
|
if commits is None:
|
||||||
logger.warn('Could not get commits behind from GitHub.')
|
logger.warn('Could not get commits behind from GitHub.')
|
||||||
return headphones.CURRENT_VERSION
|
return headphones.LATEST_VERSION
|
||||||
|
|
||||||
try:
|
try:
|
||||||
headphones.COMMITS_BEHIND = int(commits['behind_by'])
|
headphones.COMMITS_BEHIND = int(commits['behind_by'])
|
||||||
|
|||||||
Reference in New Issue
Block a user