From acaa369e77f8237a23d2c5d84f4dcb3990c934d4 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Fri, 16 Jun 2023 16:18:08 +0200 Subject: [PATCH] CheckList: Minor change. --- src/View/CheckList/Window.py | 2 +- src/View/CheckList/Worker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View/CheckList/Window.py b/src/View/CheckList/Window.py index 85244d48..88b0294d 100644 --- a/src/View/CheckList/Window.py +++ b/src/View/CheckList/Window.py @@ -110,7 +110,7 @@ class CheckListWindow(ASubMainWindow, ListedSubWindow): def _compute_status_label(self): ok, warning, error = self._compute_status() return (f"<font color=\"Green\">Ok: {ok} </font> |" + - f"<font color=\"Yellow\">Warning: {warning} </font> |" + + f"<font color=\"Orange\">Warning: {warning} </font> |" + f"<font color=\"Red\">Error: {error}</font>") def setup_statusbar(self): diff --git a/src/View/CheckList/Worker.py b/src/View/CheckList/Worker.py index dfde0931..9137d26b 100644 --- a/src/View/CheckList/Worker.py +++ b/src/View/CheckList/Worker.py @@ -24,7 +24,7 @@ class Worker(QObject): for checker in self._checker_list: self.signalStatus.emit(checker.name) - time.sleep(1) + # time.sleep(1) checker.run(self._study) self.signalStatus.emit("progress") -- GitLab