Updated config class

This commit is contained in:
echel0n 2014-04-10 19:09:50 -07:00
parent 5af112ecf0
commit a0048ac47c
2 changed files with 92 additions and 50 deletions

View file

@ -220,7 +220,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
flatten(outputDestination)
# Now check if video files exist in destination:
if config().issubsection(inputCategory,["SickBeard","NzbDrone"]):
if config().issubsection(inputCategory,["CouchPotato","SickBeard","NzbDrone"]):
for dirpath, dirnames, filenames in os.walk(outputDestination):
for file in filenames:
filePath = os.path.join(dirpath, file)