mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Code corrected our conditional check for extraction.
This commit is contained in:
parent
f73167ba74
commit
9c817af60e
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue