[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

@ -24,9 +24,9 @@ import util.format
class Module(core.module.Module):
@core.decorators.every(seconds=10)
def __init__(self, config):
def __init__(self, config, theme):
widgets = []
super().__init__(config, widgets)
super().__init__(config, theme, widgets)
self._exclude = tuple(filter(len, self.parameter('exclude', 'lo,virbr,docker,vboxnet,veth,br').split(',')))
self._include = self.parameter('include', '').split(',')