Merge pull request #1195 from swamp12/develop

SiCKRAGETV/sickrage-issues#360: remove globals in post processing code f...
This commit is contained in:
echel0n 2015-01-17 19:20:10 -08:00
commit d597a798b2
1 changed files with 1 additions and 1 deletions

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)