1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-18 07:15:13 -05:00

Merge pull request #320 from WebSpider/dev-stop_tvdir_deletion

Prevent TV Download dir from being deleted during postprocessing
This commit is contained in:
Nils 2014-05-04 23:42:35 +02:00
commit d961892b00

View File

@ -147,6 +147,7 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior
if process_method == "move" and \ if process_method == "move" and \
ek.ek(os.path.normpath, processPath) != ek.ek(os.path.normpath, ek.ek(os.path.normpath, processPath) != ek.ek(os.path.normpath,
sickbeard.TV_DOWNLOAD_DIR): sickbeard.TV_DOWNLOAD_DIR):
if processPath != sickbeard.TV_DOWNLOAD_DIR:
delete_dir(processPath) delete_dir(processPath)
return returnStr return returnStr