[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

@ -35,9 +35,9 @@ except:
class Module(core.module.Module):
@core.decorators.every(seconds=5) # takes up to 5s to detect a new screen
def __init__(self, config):
def __init__(self, config, theme):
widgets = []
super().__init__(config, widgets)
super().__init__(config, theme, widgets)
self._autoupdate = util.format.asbool(self.parameter('autoupdate', True))
self._needs_update = True