mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 03:48:02 -05:00
Merge pull request #1195 from swamp12/develop
SiCKRAGETV/sickrage-issues#360: remove globals in post processing code f...
This commit is contained in:
commit
d597a798b2
@ -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
|
#Don't Link media when the media is extracted from a rar in the same path
|
||||||
if process_method in ('hardlink', 'symlink') and videoInRar:
|
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,
|
process_media(processPath, set(videoFiles) - set(videoInRar), nzbName, process_method, force,
|
||||||
is_priority, result)
|
is_priority, result)
|
||||||
delete_files(processPath, rarContent, result)
|
delete_files(processPath, rarContent, result)
|
||||||
|
Loading…
Reference in New Issue
Block a user