1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-01 12:34:58 +00:00

Fixed settings saving not completing properly when the SignalR client didn't start properly. #1474

This commit is contained in:
morpheus65535 2021-07-28 16:03:29 -04:00
parent d77d687532
commit 1d20bbb4b9
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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",