[modules/all] Update constructore to include theme

This commit is contained in:
tobi-wan-kenobi 2020-04-26 16:39:24 +02:00
parent 1f94eab927
commit f2d411276d
78 changed files with 158 additions and 158 deletions

View file

@ -66,9 +66,8 @@ def get_redshift_value(module):
class Module(core.module.Module):
@core.decorators.every(seconds=10)
def __init__(self, config):
widget = core.widget.Widget(self.text)
super().__init__(config, widget)
def __init__(self, config, theme):
super().__init__(config, theme, core.widget.Widget(self.text))
self.__thread = None