From 8eb2bd011cc83a4c3a3f00adfa1e8e1a9e47484c Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Tue, 11 May 2021 00:56:11 +0200 Subject: [PATCH] display: improve shutdown message --- scripts/planktoscope/display.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/planktoscope/display.py b/scripts/planktoscope/display.py index 48e66d2..cf6b745 100644 --- a/scripts/planktoscope/display.py +++ b/scripts/planktoscope/display.py @@ -100,6 +100,7 @@ class Display(object): def stop(self): logger.info("Display is out!") + self.display_text("Shutdown in 5s") self.__clear() @@ -112,4 +113,4 @@ if __name__ == "__main__": time.sleep(5) display.display_text("Bye!") time.sleep(5) - display.stop() \ No newline at end of file + display.stop()