From 7af6ca9c1ddd7e141a8c3cc3757709dbbf1a63cc Mon Sep 17 00:00:00 2001 From: evilhero Date: Fri, 8 Mar 2019 16:05:32 -0500 Subject: [PATCH] FIX: Fix for None variable being passed for the name when post-processing DDL items --- mylar/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/helpers.py b/mylar/helpers.py index 98cbcfeb..c77915bd 100755 --- a/mylar/helpers.py +++ b/mylar/helpers.py @@ -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,