Browse Source

Change sab API request to prevent naming mismatch.

pull/832/head
Prinz23 9 years ago
committed by JackDandy
parent
commit
eb4bf57111
  1. 1
      CHANGES.md
  2. 2
      sickbeard/sab.py

1
CHANGES.md

@ -198,6 +198,7 @@
* Change prevent browser auto completing password fields on config pages * Change prevent browser auto completing password fields on config pages
* Change refresh page when torrent providers are enabled/disabled * Change refresh page when torrent providers are enabled/disabled
* Change only display Search Settings/"Usenet retention" if Search NZBs is enabled * Change only display Search Settings/"Usenet retention" if Search NZBs is enabled
* Change sab API request to prevent naming mismatch
[develop changelog] [develop changelog]
* Change send nzb data to NZBGet for Anizb instead of url * Change send nzb data to NZBGet for Anizb instead of url

2
sickbeard/sab.py

@ -45,6 +45,8 @@ def send_nzb(nzb):
if 1 == nzb.priority: if 1 == nzb.priority:
params['priority'] = 1 params['priority'] = 1
params['nzbname'] = '%s.nzb' % nzb.name
kwargs = {} kwargs = {}
# if it's a normal result we just pass SAB the URL # if it's a normal result we just pass SAB the URL
if 'nzb' == nzb.resultType: if 'nzb' == nzb.resultType:

Loading…
Cancel
Save