Code corrected our conditional check for extraction.

This commit is contained in:
echel0n 2014-04-20 14:29:17 -07:00
commit 9c817af60e
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
section = nzbtomedia.CFG.findsection(inputCategory)
if section:
if nzbtomedia.CFG[section]['extract']:
if nzbtomedia.CFG[section][inputCategory]['extract']:
logger.debug('Checking for archives to extract in directory: %s' % (inputDirectory))
extractFiles(inputDirectory)
else: