diff --git a/CHANGES.md b/CHANGES.md index 3bf1f2a2..8ffa290e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.12.8 (2017-02-19 13:50:00 UTC) +### 0.12.9 (2017-02-24 18:40:00 UTC) + +* Fix issue saving custom NewznabProviders + + +### 0.12.8 (2017-02-19 13:50:00 UTC) * Change BTN API hostname diff --git a/sickbeard/providers/newznab.py b/sickbeard/providers/newznab.py index 4cb39b5a..3e258547 100755 --- a/sickbeard/providers/newznab.py +++ b/sickbeard/providers/newznab.py @@ -98,9 +98,9 @@ class NewznabProvider(generic.NZBProvider): self.cat_ids = cat_ids or '' self._cat_ids = None self.search_mode = search_mode or 'eponly' - self.search_fallback = search_fallback - self.enable_recentsearch = enable_recentsearch - self.enable_backlog = enable_backlog + self.search_fallback = bool(helpers.tryInt(search_fallback)) + self.enable_recentsearch = bool(helpers.tryInt(enable_recentsearch)) + self.enable_backlog = bool(helpers.tryInt(enable_backlog)) self.needs_auth = '0' != self.key.strip() # '0' in the key setting indicates that api_key is not needed self.default = False self._caps = {}