mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-19 13:29:08 +00:00
Fixed settings saving not completing properly when the SignalR client didn't start properly. #1474
This commit is contained in:
parent
d77d687532
commit
1d20bbb4b9
2 changed files with 8 additions and 3 deletions
|
@ -442,11 +442,17 @@ def save_settings(settings_items):
|
||||||
|
|
||||||
if sonarr_changed:
|
if sonarr_changed:
|
||||||
from signalr_client import sonarr_signalr_client
|
from signalr_client import sonarr_signalr_client
|
||||||
sonarr_signalr_client.restart()
|
try:
|
||||||
|
sonarr_signalr_client.restart()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
if radarr_changed:
|
if radarr_changed:
|
||||||
from signalr_client import radarr_signalr_client
|
from signalr_client import radarr_signalr_client
|
||||||
radarr_signalr_client.restart()
|
try:
|
||||||
|
radarr_signalr_client.restart()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
if update_path_map:
|
if update_path_map:
|
||||||
from helper import path_mappings
|
from helper import path_mappings
|
||||||
|
|
1
frontend/package-lock.json
generated
1
frontend/package-lock.json
generated
|
@ -21,7 +21,6 @@
|
||||||
"@types/react": "^16",
|
"@types/react": "^16",
|
||||||
"@types/react-dom": "^16",
|
"@types/react-dom": "^16",
|
||||||
"@types/react-helmet": "^6.1",
|
"@types/react-helmet": "^6.1",
|
||||||
"@types/react-redux": "^7",
|
|
||||||
"@types/react-router-dom": "^5",
|
"@types/react-router-dom": "^5",
|
||||||
"@types/react-select": "^4.0.3",
|
"@types/react-select": "^4.0.3",
|
||||||
"@types/react-table": "^7",
|
"@types/react-table": "^7",
|
||||||
|
|
Loading…
Reference in a new issue