include nzbid in log message "Unable to locate item in active queue"

This may help less familiar users to understand the messages.
This commit is contained in:
zxvv 2018-06-16 20:10:06 -05:00 committed by evilhero
parent dfc5c784e5
commit 4f90241bc4
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class NZBGet(object):
logger.fdebug('valid queue result returned. Analyzing...')
queuedl = [qu for qu in queueinfo if qu['NZBID'] == nzbid]
if len(queuedl) == 0:
logger.warn('Unable to locate item in active queue. Could it be finished already ?')
logger.warn('Unable to locate NZBID %s in active queue. Could it be finished already ?' % nzbid)
return self.historycheck(nzbinfo)
stat = False