mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 11:03:38 +00:00
Fix for manual updates when auto-upate option is enabled.
This commit is contained in:
parent
e0eea79ec5
commit
12ee35a5e6
1 changed files with 1 additions and 2 deletions
|
@ -3336,7 +3336,6 @@ class Home(MainHandler):
|
||||||
updated = sickbeard.versionCheckScheduler.action.update() # @UndefinedVariable
|
updated = sickbeard.versionCheckScheduler.action.update() # @UndefinedVariable
|
||||||
if updated:
|
if updated:
|
||||||
# do a hard restart
|
# do a hard restart
|
||||||
if not sickbeard.AUTO_UPDATE:
|
|
||||||
threading.Timer(2, sickbeard.invoke_restart, [False]).start()
|
threading.Timer(2, sickbeard.invoke_restart, [False]).start()
|
||||||
|
|
||||||
t = PageTemplate(file="restart_bare.tmpl")
|
t = PageTemplate(file="restart_bare.tmpl")
|
||||||
|
|
Loading…
Reference in a new issue