From: Christian Heller Date: Thu, 2 Oct 2025 19:26:06 +0000 (+0200) Subject: Fix erroneous argv counting (once more …). X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=3c972583070989c460be213dc0f68b28ae1b8cba;p=ircplom Fix erroneous argv counting (once more …). --- diff --git a/src/run.py b/src/run.py index bc2682d..3d0d4fe 100755 --- a/src/run.py +++ b/src/run.py @@ -42,7 +42,7 @@ def main_loop(cls_term: type[TerminalInterface], cls_tui: type[BaseTui] if __name__ == '__main__': - if len(argv) == 0: + if len(argv) == 1: main_loop(Terminal, ClientTui) elif len(argv) == 2 and argv[1] == 'test': for path in PATH_TESTS.iterdir():