[core] Add themes to module constructor

This commit is contained in:
tobi-wan-kenobi 2020-04-26 16:39:13 +02:00
parent 354d723b7c
commit 1f94eab927
4 changed files with 10 additions and 10 deletions

View file

@ -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):