mirror of https://github.com/morpheus65535/bazarr
Fix for #620
This commit is contained in:
parent
73df77984d
commit
b7049c79ce
|
@ -294,7 +294,8 @@ def request_json(url, **kwargs):
|
|||
def updated(restart=True):
|
||||
if settings.general.getboolean('update_restart') and restart:
|
||||
try:
|
||||
requests.get(bazarr_url + 'restart')
|
||||
from main import restart
|
||||
restart()
|
||||
except requests.ConnectionError:
|
||||
logging.info('BAZARR Restart failed, please restart Bazarr manualy')
|
||||
updated(restart=False)
|
||||
|
|
Loading…
Reference in New Issue