mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43: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(
|
||||
kwargs[cur_id + '_search_fallback'])
|
||||
except:
|
||||
pass
|
||||
newznabProviderDict[cur_id].search_fallback = 0
|
||||
|
||||
try:
|
||||
newznabProviderDict[cur_id].enable_daily = config.checkbox_to_value(
|
||||
kwargs[cur_id + '_enable_daily'])
|
||||
except:
|
||||
pass
|
||||
newznabProviderDict[cur_id].enable_daily = 0
|
||||
|
||||
try:
|
||||
newznabProviderDict[cur_id].enable_backlog = config.checkbox_to_value(
|
||||
kwargs[cur_id + '_enable_backlog'])
|
||||
except:
|
||||
pass
|
||||
newznabProviderDict[cur_id].enable_backlog = 0
|
||||
else:
|
||||
sickbeard.newznabProviderList.append(newProvider)
|
||||
|
||||
|
|
Loading…
Reference in a new issue