mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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,8 +3336,7 @@ class Home(MainHandler):
|
|||
updated = sickbeard.versionCheckScheduler.action.update() # @UndefinedVariable
|
||||
if updated:
|
||||
# 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")
|
||||
return _munge(t)
|
||||
|
|
Loading…
Reference in a new issue