From cc79bb9d9df67407ae026e0720df890bf62013cd Mon Sep 17 00:00:00 2001 From: paprykdev <58005447+paprykdev@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:51:15 +0100 Subject: [PATCH] fix: ignore empty commands in prompt function --- scripts/threads/prompt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/threads/prompt.py b/scripts/threads/prompt.py index 9fa3c73..d7ffe7e 100644 --- a/scripts/threads/prompt.py +++ b/scripts/threads/prompt.py @@ -61,6 +61,8 @@ def prompt(): ).stdout.decode() ) continue + if command == "": + continue else: print("Command not found. Write 'h' for help.") continue