[core] Fix error widget

The parameters for the error widget were wrong (dict vs. Config)
This commit is contained in:
Tobias Witek 2020-02-15 11:38:36 +01:00
parent 6f6ac97726
commit 6da755ab84

View file

@ -67,7 +67,9 @@ def main():
import time import time
while True: while True:
output.begin() output.begin()
error = bumblebee.modules.error.Module(engine, config) error = bumblebee.modules.error.Module(engine, {
"config": config, "name": "error"
})
error.set("exception occurred: {} in {}".format(e, module)) error.set("exception occurred: {} in {}".format(e, module))
widget = error.widgets()[0] widget = error.widgets()[0]
widget.link_module(error) widget.link_module(error)