Change NewznabProvider specifics on develop arising from hotfix 0.12.9.

This commit is contained in:
JackDandy 2017-02-24 20:08:37 +00:00
parent 231198ab72
commit bfb13dfa35

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 = {}