diff --git a/CHANGES.md b/CHANGES.md index 12de5c6c..10b88145 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -60,6 +60,11 @@ * Change restart/shutdown to use updated jQuery +### 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 f50dc5a4..0e61e8a6 100755 --- a/sickbeard/providers/newznab.py +++ b/sickbeard/providers/newznab.py @@ -99,9 +99,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 = bool(tryInt(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.enable_scheduled_backlog = bool(tryInt(enable_scheduled_backlog)) self.needs_auth = '0' != self.key.strip() # '0' in the key setting indicates that api_key is not needed self.default = False