NZB ids not persistent in new sessions
This commit is contained in:
1 parent
95a68af795
commit
66d9d853af
1 file changed
+1
-3
@@ -52,9 +52,7 @@ class NZBGet(Downloader):
|
|||||||
|
|
||||||
if xml_response:
|
if xml_response:
|
||||||
log.info('NZB sent successfully to NZBGet')
|
log.info('NZB sent successfully to NZBGet')
|
||||||
groups = rpc.listgroups()
|
return True
|
||||||
nzb_id = [item['NZBID'] for item in groups if item['NZBFilename'] == nzb_name][0]
|
|
||||||
return self.downloadReturnId(nzb_id)
|
|
||||||
else:
|
else:
|
||||||
log.error('NZBGet could not add %s to the queue.', nzb_name)
|
log.error('NZBGet could not add %s to the queue.', nzb_name)
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in new issue
Block a user