mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 19:12:26 -05:00
Merge pull request #775 from adam111316/newznab_fix_2
Test #2 to fix daily/backlog checkboxes with custom newznab server
This commit is contained in:
commit
84fe52bdf8
@ -2029,19 +2029,19 @@ class ConfigProviders(MainHandler):
|
|||||||
newznabProviderDict[cur_id].search_fallback = config.checkbox_to_value(
|
newznabProviderDict[cur_id].search_fallback = config.checkbox_to_value(
|
||||||
kwargs[cur_id + '_search_fallback'])
|
kwargs[cur_id + '_search_fallback'])
|
||||||
except:
|
except:
|
||||||
pass
|
newznabProviderDict[cur_id].search_fallback = 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
newznabProviderDict[cur_id].enable_daily = config.checkbox_to_value(
|
newznabProviderDict[cur_id].enable_daily = config.checkbox_to_value(
|
||||||
kwargs[cur_id + '_enable_daily'])
|
kwargs[cur_id + '_enable_daily'])
|
||||||
except:
|
except:
|
||||||
pass
|
newznabProviderDict[cur_id].enable_daily = 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
newznabProviderDict[cur_id].enable_backlog = config.checkbox_to_value(
|
newznabProviderDict[cur_id].enable_backlog = config.checkbox_to_value(
|
||||||
kwargs[cur_id + '_enable_backlog'])
|
kwargs[cur_id + '_enable_backlog'])
|
||||||
except:
|
except:
|
||||||
pass
|
newznabProviderDict[cur_id].enable_backlog = 0
|
||||||
else:
|
else:
|
||||||
sickbeard.newznabProviderList.append(newProvider)
|
sickbeard.newznabProviderList.append(newProvider)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user