[modules] Refactor module initialization
Modules now get an output and a complete config object. This should make customization much easier in the future.
This commit is contained in:
parent
c2adf38b92
commit
7f91b8298f
5 changed files with 46 additions and 31 deletions
|
@ -32,7 +32,7 @@ class ModuleDescription(object):
|
|||
return "n/a"
|
||||
|
||||
class Module(object):
|
||||
def __init__(self, args):
|
||||
def __init__(self, output, config):
|
||||
pass
|
||||
|
||||
def data(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue