1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00

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

View File

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