mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
Merge branch 'clinton-hall/dev-CH'
Made some minor code corrections.
This commit is contained in:
commit
e82abc3b01
8 changed files with 24 additions and 13 deletions
|
@ -182,9 +182,8 @@ elif len(sys.argv) >= nzbtomedia.SABNZB_0717_NO_OF_ARGUMENTS:
|
|||
else:
|
||||
result = 0
|
||||
|
||||
subsections = nzbtomedia.CFG["NzbDrone"].subsections
|
||||
logger.warning("Invalid number of arguments received from client.")
|
||||
for section, subsection in subsections.items():
|
||||
for section, subsection in nzbtomedia.SUBSECTIONS['NzbDrone'].items():
|
||||
for category in subsection:
|
||||
if nzbtomedia.CFG[section].isenabled(category):
|
||||
dirNames = get_dirnames(section, category)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue