mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Testing fix for auto-updates
This commit is contained in:
parent
cd04d79af5
commit
51830e49d9
1 changed files with 6 additions and 8 deletions
|
@ -58,12 +58,12 @@ class CheckVersion():
|
|||
|
||||
def run(self):
|
||||
if self.check_for_new_version():
|
||||
if sickbeard.AUTO_UPDATE:
|
||||
logger.log(u"New update found for SickBeard, starting auto-updater ...")
|
||||
updated = sickbeard.versionCheckScheduler.action.update()
|
||||
if updated:
|
||||
logger.log(u"Update was successfull, restarting SickBeard ...")
|
||||
sickbeard.restart(False)
|
||||
if sickbeard.AUTO_UPDATE:
|
||||
logger.log(u"New update found for SickRage, starting auto-updater ...")
|
||||
updated = sickbeard.versionCheckScheduler.action.update()
|
||||
if updated:
|
||||
logger.log(u"Update was successfull, restarting SickRage ...")
|
||||
sickbeard.restart(False)
|
||||
|
||||
# refresh scene exceptions too
|
||||
scene_exceptions.retrieve_exceptions()
|
||||
|
@ -518,8 +518,6 @@ class GitUpdateManager(UpdateManager):
|
|||
|
||||
if exit_status == 0:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue