aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2018-05-29 20:43:46 -0400
committermorpheus65535 <[email protected]>2018-05-29 20:43:46 -0400
commit6d9dea724f78eb34cc0c359227afa119ce163c00 (patch)
treeb4483e205c004d0da47d95698568fe8ad59ee304 /bazarr.py
parent95d234daad3aa9f6d9bb9179ee830a0ebba62b39 (diff)
downloadbazarr-6d9dea724f78eb34cc0c359227afa119ce163c00.tar.gz
bazarr-6d9dea724f78eb34cc0c359227afa119ce163c00.zip
Idem
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bazarr.py b/bazarr.py
index 2915e147e..ae856bd9b 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -701,7 +701,6 @@ def save_settings():
settings_sonarr_apikey = request.forms.get('settings_sonarr_apikey')
settings_sonarr_sync = request.forms.get('settings_sonarr_sync')
c.execute("UPDATE table_settings_sonarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_sonarr_ip, settings_sonarr_port, settings_sonarr_baseurl, settings_sonarr_ssl, settings_sonarr_apikey, settings_sonarr_sync))
- sonarr_full_update()
settings_radarr_ip = request.forms.get('settings_radarr_ip')
settings_radarr_port = request.forms.get('settings_radarr_port')
@@ -714,7 +713,6 @@ def save_settings():
settings_radarr_apikey = request.forms.get('settings_radarr_apikey')
settings_radarr_sync = request.forms.get('settings_radarr_sync')
c.execute("UPDATE table_settings_radarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_radarr_ip, settings_radarr_port, settings_radarr_baseurl, settings_radarr_ssl, settings_radarr_apikey, settings_radarr_sync))
- radarr_full_update()
settings_subliminal_providers = request.forms.getall('settings_subliminal_providers')
c.execute("UPDATE table_settings_providers SET enabled = 0")
@@ -884,6 +882,9 @@ def save_settings():
conn.commit()
c.close()
+ sonarr_full_update()
+ radarr_full_update()
+
logging.info('Settings saved succesfully.')
# reschedule full update task according to settings