Merge branch 'feature/ChangeNewznab' into develop

This commit is contained in:
JackDandy 2017-02-24 20:09:52 +00:00
commit 4e53680114

View file

@ -99,10 +99,10 @@ class NewznabProvider(generic.NZBProvider):
self.cat_ids = cat_ids or ''
self._cat_ids = None
self.search_mode = search_mode or 'eponly'
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.search_fallback = bool(tryInt(search_fallback))
self.enable_recentsearch = bool(tryInt(enable_recentsearch))
self.enable_backlog = bool(tryInt(enable_backlog))
self.enable_scheduled_backlog = bool(tryInt(enable_scheduled_backlog, 1))
self.needs_auth = '0' != self.key.strip() # '0' in the key setting indicates that api_key is not needed
self.default = False
self._caps = {}