Extract issues fixed

This commit is contained in:
echel0n 2014-04-23 10:35:40 -07:00
parent 41e0d10e25
commit c8ddbc4836
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
if platform.system() == 'Windows': # remove Read Only flag from files in Windows.
nzbtomedia.remove_read_only(outputDestination)
if nzbtomedia.CFG[section][inputCategory]['extract']:
if nzbtomedia.CFG[section][inputCategory]['extract'] == 1:
logger.debug('Checking for archives to extract in directory: %s' % (outputDestination))
nzbtomedia.extractFiles(outputDestination)