From 6b4740e7629da047f27ef11ec9ca940b76fdbd27 Mon Sep 17 00:00:00 2001 From: DidierRLopes Date: Fri, 26 Nov 2021 12:20:16 +0000 Subject: [PATCH] fix #987 (#988) --- terminal.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/terminal.py b/terminal.py index 931cad74639..395174576ae 100644 --- a/terminal.py +++ b/terminal.py @@ -305,11 +305,9 @@ def terminal(menu_prior_to_reset=""): similar_cmd = difflib.get_close_matches( an_input, t_controller.CHOICES, n=1, cutoff=0.7 ) - - if similar_cmd: - print(f"Did you mean '{similar_cmd[0]}'?\n") - - continue + if similar_cmd: + print(f"Did you mean '{similar_cmd[0]}'?\n") + continue if not gtff.ENABLE_QUICK_EXIT: # Check if the user wants to reset application