testing version update

This commit is contained in:
evilhero 2019-04-16 10:44:09 -04:00
parent 1b6c0fc5ef
commit b6f4744e9a
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,8 @@ def checkGithub(current_version=None):
if mylar.COMMITS_BEHIND >= 1:
logger.info('New version is available. You are %s commits behind' % mylar.COMMITS_BEHIND)
if mylar.CONFIG.AUTO_UPDATE is True:
mylar.SIGNAL = 'update'
elif mylar.COMMITS_BEHIND == 0:
logger.info('Mylar is up to date')
elif mylar.COMMITS_BEHIND == -1: