Merge branch 'master' into develop

This commit is contained in:
JackDandy 2017-02-24 19:57:28 +00:00
commit 231198ab72
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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