Sabnzbd should be able to handle empty nzbns too, small fix for that.
This commit is contained in:
@@ -44,6 +44,10 @@ class Sabnzbd(Downloader):
|
|||||||
|
|
||||||
nzb_file = data.get('download')(url = data.get('url'), nzb_id = data.get('id'))
|
nzb_file = data.get('download')(url = data.get('url'), nzb_id = data.get('id'))
|
||||||
|
|
||||||
|
if "no nzb" in nzb_file:
|
||||||
|
log.error('No nzb available!')
|
||||||
|
return False
|
||||||
|
|
||||||
# If it's a .rar, it adds the .rar extension, otherwise it stays .nzb
|
# If it's a .rar, it adds the .rar extension, otherwise it stays .nzb
|
||||||
nzb_filename = self.createFileName(data, nzb_file, movie)
|
nzb_filename = self.createFileName(data, nzb_file, movie)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user