[core] Fix error widget
The parameters for the error widget were wrong (dict vs. Config)
This commit is contained in:
parent
6f6ac97726
commit
6da755ab84
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue