mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fixed enable/disable check.
Added few more helper functions to our config class.
This commit is contained in:
parent
191be4ea57
commit
c9898e0e87
14 changed files with 53 additions and 49 deletions
|
@ -168,7 +168,7 @@ else:
|
|||
Logger.warn("MAIN: Invalid number of arguments received from client.")
|
||||
for section, subsection in subsections.items():
|
||||
for category in subsection:
|
||||
if int(config()[section][category]['enabled']) == 1:
|
||||
if config.isenabled(section, category):
|
||||
dirNames = get_dirnames(section, category)
|
||||
for dirName in dirNames:
|
||||
Logger.info("MAIN: nzbToGamez running %s:%s as a manual run...", section, category)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue