mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00: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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue