Fixed a bug in the minSize function, was backwards so it never returned results when media files existed.

This commit is contained in:
echel0n 2014-04-22 21:26:44 -07:00
commit 817f310169
4 changed files with 10 additions and 17 deletions

View file

@ -188,8 +188,9 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
logger.error("A problem was reported in the autoProcess* script. If torrent was paused we will resume seeding")
nzbtomedia.resume_torrent(clientAgent, inputHash, inputID, result, inputName)
else:
# update download status in our DB
nzbtomedia.update_downloadInfoStatus(inputName, 1)
if clientAgent != 'manual':
# update download status in our DB
nzbtomedia.update_downloadInfoStatus(inputName, 1)
# cleanup our processing folders of any misc unwanted files and empty directories
nzbtomedia.cleanProcDirs()