diff options
author | morpheus65535 <[email protected]> | 2021-07-28 16:03:29 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-07-28 16:03:29 -0400 |
commit | 1d20bbb4b9d83a583d4950c94829733d8d0a4267 (patch) | |
tree | 2db649625f9702aa9971487cd911ec153921b387 | |
parent | d77d6875323718cc9a835e9b55e695ae326959a6 (diff) | |
download | bazarr-1d20bbb4b9d83a583d4950c94829733d8d0a4267.tar.gz bazarr-1d20bbb4b9d83a583d4950c94829733d8d0a4267.zip |
Fixed settings saving not completing properly when the SignalR client didn't start properly. #1474v0.9.7-beta.6
-rw-r--r-- | bazarr/config.py | 10 | ||||
-rw-r--r-- | 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", |