mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 14:25:02 -05:00
Fixed some git conflicts
This commit is contained in:
parent
000467cc73
commit
8b4bb3a5a5
@ -55,6 +55,8 @@ class NewznabProvider(generic.NZBProvider):
|
|||||||
|
|
||||||
self.search_mode = search_mode
|
self.search_mode = search_mode
|
||||||
self.search_fallback = search_fallback
|
self.search_fallback = search_fallback
|
||||||
|
self.enable_daily = enable_daily
|
||||||
|
self.enable_backlog = enable_backlog
|
||||||
|
|
||||||
# a 0 in the key spot indicates that no key is needed
|
# a 0 in the key spot indicates that no key is needed
|
||||||
if self.key == '0':
|
if self.key == '0':
|
||||||
|
@ -2048,6 +2048,29 @@ class ConfigProviders(MainHandler):
|
|||||||
newznabProviderDict[cur_id].needs_auth = False
|
newznabProviderDict[cur_id].needs_auth = False
|
||||||
else:
|
else:
|
||||||
newznabProviderDict[cur_id].needs_auth = True
|
newznabProviderDict[cur_id].needs_auth = True
|
||||||
|
|
||||||
|
try:
|
||||||
|
newznabProviderDict[cur_id].search_mode = str(kwargs[cur_id + '_search_mode']).strip()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
newznabProviderDict[cur_id].search_fallback = config.checkbox_to_value(
|
||||||
|
kwargs[cur_id + '_search_fallback'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
newznabProviderDict[cur_id].enable_daily = config.checkbox_to_value(
|
||||||
|
kwargs[cur_id + '_enable_daily'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
newznabProviderDict[cur_id].enable_backlog = config.checkbox_to_value(
|
||||||
|
kwargs[cur_id + '_enable_backlog'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
sickbeard.newznabProviderList.append(newProvider)
|
sickbeard.newznabProviderList.append(newProvider)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user