mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
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:
parent
175f023224
commit
6594433ca5
4 changed files with 20 additions and 23 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue