From b87dcad9c281b323380685a2fe6218f38010b293 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Mon, 13 Apr 2020 09:43:45 +0200 Subject: [PATCH] [core/module] For errors, always set update interval to 1 --- core/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/module.py b/core/module.py index 6e48213..455620a 100644 --- a/core/module.py +++ b/core/module.py @@ -56,6 +56,7 @@ class Module(core.input.Object): try: self.update() except Exception as e: + self.set('interval', 1) module = Error(config=self.__config, module='error', error=str(e)) self.__widgets = [module.widget()] self.update = module.update