1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

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.

This commit is contained in:
swamp12 2015-01-18 01:01:21 +01:00
parent 0bb84466d0
commit 53c205422c

View File

@ -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)