From 1d20bbb4b9d83a583d4950c94829733d8d0a4267 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 28 Jul 2021 16:03:29 -0400 Subject: [PATCH] Fixed settings saving not completing properly when the SignalR client didn't start properly. #1474 --- bazarr/config.py | 10 ++++++++-- frontend/package-lock.json | 1 - 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bazarr/config.py b/bazarr/config.py index e076ea3b8..910497cf5 100644 --- a/bazarr/config.py +++ b/bazarr/config.py @@ -442,11 +442,17 @@ def save_settings(settings_items): if sonarr_changed: from signalr_client import sonarr_signalr_client - sonarr_signalr_client.restart() + try: + sonarr_signalr_client.restart() + except: + pass if radarr_changed: from signalr_client import radarr_signalr_client - radarr_signalr_client.restart() + try: + radarr_signalr_client.restart() + except: + pass if update_path_map: from helper import path_mappings diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 7b54090f1..fab73197e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -21,7 +21,6 @@ "@types/react": "^16", "@types/react-dom": "^16", "@types/react-helmet": "^6.1", - "@types/react-redux": "^7", "@types/react-router-dom": "^5", "@types/react-select": "^4.0.3", "@types/react-table": "^7",