mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Prevent postprocesser from removing TV_DOWNLOAD_DIR
This commit is contained in:
parent
4b5fa9582a
commit
452895a058
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ 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):
|
||||||
delete_dir(processPath)
|
if processPath != sickbeard.TV_DOWNLOAD_DIR:
|
||||||
|
delete_dir(processPath)
|
||||||
|
|
||||||
return returnStr
|
return returnStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue