Fixed our cleanDir function so that we now pass in path, section, and subsection instead of it just trying to do a recursive clean.

This commit is contained in:
echel0n 2014-04-25 02:56:00 -07:00
parent 175f023224
commit 6594433ca5
4 changed files with 20 additions and 23 deletions

View file

@ -202,7 +202,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
nzbtomedia.remove_torrent(clientAgent, inputHash, inputID, inputName)
# cleanup our processing folders of any misc unwanted files and empty directories
nzbtomedia.cleanProcDirs()
nzbtomedia.cleanDir(inputDirectory, sectionName, inputCategory)
return result