Merge branch 'clinton-hall/dev-CH'

Made some minor code corrections.
This commit is contained in:
echel0n 2014-04-11 23:04:58 -07:00
commit e82abc3b01
8 changed files with 24 additions and 13 deletions

View file

@ -424,9 +424,8 @@ else:
result = 0
# init sub-sections
subsections = nzbtomedia.CFG["CouchPotato", "SickBeard", "NzbDrone", "HeadPhones", "Mylar", "Gamez"].subsections
logger.warning("Invalid number of arguments received from client.")
for section, subsection in subsections.items():
for section, subsection in nzbtomedia.SUBSECTIONS.items():
for category in subsection:
if nzbtomedia.CFG[section].isenabled(category):
dirNames = get_dirnames(section, category)