From 9fa7da4d2e0f800472f86a9f44d18c46b44addb4 Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Mon, 14 Aug 2023 18:25:59 +0200 Subject: [PATCH] Added asking user questions upon human intervention --- euclid/helpers/Project.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/euclid/helpers/Project.py b/euclid/helpers/Project.py index be0c0e2..4a3ef1c 100644 --- a/euclid/helpers/Project.py +++ b/euclid/helpers/Project.py @@ -183,3 +183,12 @@ class Project: self, 'Once you are ready, type "continue" to continue.', ) + + if answer != '' and answer != 'continue': + confirmation = styled_text( + self, + 'Do you want me to debug this by your instructions? If you mistyped and just want to continue, type "continue" and if you want me to debug this, just press ENTER', + ) + if confirmation == '': + print(colored('Ok, just a second.', "yellow")) + return answer