From: Christian Heller Date: Thu, 2 Oct 2025 19:05:02 +0000 (+0200) Subject: Fix erroneous argv counting. X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=3c784f4cbc8eb5c1b05ec59e78c394b6e95e36f3;p=ircplom Fix erroneous argv counting. --- 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