FIX: Fix for None variable being passed for the name when post-processing DDL items

This commit is contained in:
evilhero 2019-03-08 16:05:32 -05:00
parent bc105fbd10
commit 7af6ca9c1d
1 changed files with 1 additions and 1 deletions

View File

@ -3068,7 +3068,7 @@ def ddl_downloader(queue):
try:
if ddzstat['filename'] is None:
logger.info('%s successfully downloaded - now initiating post-processing.' % (os.path.basename(ddzstat['path'])))
mylar.PP_QUEUE.put({'nzb_name': ddzstat['filename'],
mylar.PP_QUEUE.put({'nzb_name': os.path.basename(ddzstat['path']),
'nzb_folder': ddzstat['path'],
'failed': False,
'issueid': None,