mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fixed issue for wrong destination set for cleaning in TorrentToMedia.
Checks for directory exists before attempting to clean it incase processor has already cleaned and removed it.
This commit is contained in:
parent
6594433ca5
commit
eec6ed3b11
2 changed files with 6 additions and 3 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.cleanDir(inputDirectory, sectionName, inputCategory)
|
||||
nzbtomedia.cleanDir(outputDestination, sectionName, inputCategory)
|
||||
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue