From 4ac8c2ef7a5166326978e61210c6e128c44c4e8f Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Thu, 25 Jun 2020 20:46:13 +0200 Subject: [PATCH] [modules/speedtest] small fix for retrigger --- bumblebee_status/modules/core/speedtest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bumblebee_status/modules/core/speedtest.py b/bumblebee_status/modules/core/speedtest.py index 2b39cff..aa07a16 100644 --- a/bumblebee_status/modules/core/speedtest.py +++ b/bumblebee_status/modules/core/speedtest.py @@ -10,6 +10,7 @@ Requires the following python module: import core.module import core.widget import core.input +import core.event import core.decorators import speedtest @@ -37,6 +38,7 @@ class Module(core.module.Module): def update(self): self.__running = True + core.event.trigger("update", [self.id], redraw_only=True) s = speedtest.Speedtest() s.get_best_server() s.download(threads=None)