1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-01 12:07:50 +00:00

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

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,