[core/module] For errors, always set update interval to 1
This commit is contained in:
parent
bfc3832428
commit
b87dcad9c2
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class Module(core.input.Object):
|
||||||
try:
|
try:
|
||||||
self.update()
|
self.update()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
self.set('interval', 1)
|
||||||
module = Error(config=self.__config, module='error', error=str(e))
|
module = Error(config=self.__config, module='error', error=str(e))
|
||||||
self.__widgets = [module.widget()]
|
self.__widgets = [module.widget()]
|
||||||
self.update = module.update
|
self.update = module.update
|
||||||
|
|
Loading…
Reference in a new issue