From 3c784f4cbc8eb5c1b05ec59e78c394b6e95e36f3 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 2 Oct 2025 21:05:02 +0200 Subject: [PATCH] Fix erroneous argv counting. --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index a73ffeb..bc2682d 100755 --- a/src/run.py +++ b/src/run.py @@ -44,7 +44,7 @@ def main_loop(cls_term: type[TerminalInterface], cls_tui: type[BaseTui] if __name__ == '__main__': if len(argv) == 0: main_loop(Terminal, ClientTui) - elif len(argv) == 1 and argv[1] == 'test': + elif len(argv) == 2 and argv[1] == 'test': for path in PATH_TESTS.iterdir(): if path.parts[-1].endswith('.toml'): continue -- 2.30.2