Fixed code to set branch version at startup

This commit is contained in:
echel0n 2014-07-28 17:19:15 -07:00
parent 534104b8b0
commit bd2748d33a
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ class CheckVersion():
self.updater = None
def run(self, force=False):
# set current branch version
sickbeard.BRANCH = self.get_branch()
if self.check_for_new_version(force):
if sickbeard.AUTO_UPDATE:
logger.log(u"New update found for SickRage, starting auto-updater ...")