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:
parent
534104b8b0
commit
bd2748d33a
@ -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 ...")
|
||||||
|
Loading…
Reference in New Issue
Block a user