home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c93cc
)
Fix erroneous argv counting.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 2 Oct 2025 19:05:02 +0000
(21:05 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 2 Oct 2025 19:05:02 +0000
(21:05 +0200)
src/run.py
patch
|
blob
|
history
diff --git
a/src/run.py
b/src/run.py
index a73ffeb014500ea24b1759e52e4f27b3b634b811..bc2682d0ff53ce92c1666d3ded52b00c4cae2828 100755
(executable)
--- 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