From 82e5259e4b5700da8dd07c5a48b8a36cab2773c3 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Thu, 23 Nov 2023 07:38:21 +0100 Subject: [PATCH] rename text class --- API/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/API/main.py b/API/main.py index f5e8993..a73c560 100644 --- a/API/main.py +++ b/API/main.py @@ -4,9 +4,9 @@ from rgbmatrix import graphics import time -class Test(SampleBase): +class Text(SampleBase): def __init__(self, *args, **kwargs): - super(Test, self).__init__(*args, **kwargs) + super(Text, self).__init__(*args, **kwargs) self.parser.add_argument("-t", "--text", help="The text to scroll on the RGB LED panel", default="Hello world!") def run(self): @@ -24,6 +24,6 @@ class Test(SampleBase): if __name__ == "__main__": - test = Test() - if not test.process(): - test.print_help() + text = Text() + if not text.process(): + text.print_help()