[core] Add themes to module constructor
This commit is contained in:
parent
354d723b7c
commit
1f94eab927
4 changed files with 10 additions and 10 deletions
|
@ -6,8 +6,8 @@ import core.module
|
|||
import core.config
|
||||
|
||||
class TestModule(core.module.Module):
|
||||
def __init__(self, widgets, config=core.config.Config([])):
|
||||
super().__init__(config, widgets)
|
||||
def __init__(self, widgets, config=core.config.Config([]), theme=None):
|
||||
super().__init__(config, theme, widgets)
|
||||
self.states = []
|
||||
|
||||
def update(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue