Change sab API request to prevent naming mismatch.

This commit is contained in:
Prinz23 2016-11-22 21:47:39 +01:00 committed by JackDandy
parent 468654fa5c
commit eb4bf57111
2 changed files with 3 additions and 0 deletions

View file

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

View file

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