diff --git a/CHANGES.md b/CHANGES.md index 9eb10446..8b0e3d67 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.12.29 (2017-09-17 09:00:00 UTC) +### 0.12.30 (2017-09-29 00:20:00 UTC) + +* Fix Media Providers/Custom Newznab tab action 'Delete' then 'Save Changes' + + +### 0.12.29 (2017-09-17 09:00:00 UTC) * Fix provider nCore * Change .torrent checker due to files created with qB 3.3.16 (affects nCore and NBL) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 0dd045d5..440800ee 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -5364,7 +5364,8 @@ class ConfigProviders(Config): provider_list.append(src_name) src_enabled = bool(config.to_int(src_enabled)) - if '' != getattr(sources[src_name], 'enabled', '') and sources[src_name].is_enabled() != src_enabled: + if src_name in sources and '' != getattr(sources[src_name], 'enabled', '') \ + and sources[src_name].is_enabled() != src_enabled: sources[src_name].enabled = src_enabled if not reload_page and sickbeard.GenericProvider.TORRENT == sources[src_name].providerType: reload_page = True