From 9dd0eb58eb1cc054a1929df55683d8c98b6fb395 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sat, 2 May 2020 19:03:17 +0200 Subject: [PATCH] [modules/octoprint] changed refresh interval to 5 secs. --- modules/contrib/octoprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contrib/octoprint.py b/modules/contrib/octoprint.py index db0fd4a..5e9a5da 100644 --- a/modules/contrib/octoprint.py +++ b/modules/contrib/octoprint.py @@ -57,7 +57,7 @@ class WebcamImagesWorker(threading.Thread): self.__running = False class Module(core.module.Module): - @core.decorators.every(minutes=1) + @core.decorators.every(seconds=5) def __init__(self, config, theme): super().__init__(config, theme, core.widget.Widget(self.octoprint_status))