mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
force clean does't overide delete_failed. Fixes #842
This commit is contained in:
parent
651650f83b
commit
a83311e909
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ def cleanDir(path, section, subsection):
|
|||
if not os.path.exists(path):
|
||||
logger.info('Directory %s has been processed and removed ...' % (path), 'CLEANDIR')
|
||||
return
|
||||
if core.FORCE_CLEAN:
|
||||
if core.FORCE_CLEAN and not core.FAILED:
|
||||
logger.info('Doing Forceful Clean of %s' % (path), 'CLEANDIR')
|
||||
rmDir(path)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue