Auto load config on module init
This commit is contained in:
parent
35b0eba4ec
commit
480b1c98f4
|
@ -39,6 +39,8 @@ class ModuleBase:
|
|||
self.log = logging.getLogger("Module.%s" % self.moduleName)
|
||||
"""Logger object for this module"""
|
||||
|
||||
self.loadConfig()
|
||||
|
||||
self.log.info("Loaded module %s" % self.moduleName)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue