From 53c205422c8f02bfb6d8f0bd3870292f76d8c5d6 Mon Sep 17 00:00:00 2001 From: swamp12 Date: Sun, 18 Jan 2015 01:01:21 +0100 Subject: [PATCH] SiCKRAGETV/sickrage-issues#360: remove globals in post processing code for thread safety. Second upload. Missed updating a function call to use the "result" object. --- sickbeard/processTV.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/processTV.py b/sickbeard/processTV.py index e099a3f8..01580c18 100644 --- a/sickbeard/processTV.py +++ b/sickbeard/processTV.py @@ -203,7 +203,7 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior #Don't Link media when the media is extracted from a rar in the same path if process_method in ('hardlink', 'symlink') and videoInRar: - process_media(processPath, videoInRar, nzbName, 'move', force, is_priority) + process_media(processPath, videoInRar, nzbName, 'move', force, is_priority, result) process_media(processPath, set(videoFiles) - set(videoInRar), nzbName, process_method, force, is_priority, result) delete_files(processPath, rarContent, result)