1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Prevent postprocesser from removing TV_DOWNLOAD_DIR

This commit is contained in:
Nils Vogels 2014-05-02 23:26:26 +02:00
parent 4b5fa9582a
commit 452895a058

View File

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