fix prompts and loading of stored conversation

This commit is contained in:
LeonOstrez
2023-08-09 13:53:21 +02:00
parent cbb59a7301
commit 0465e445ef
5 changed files with 25 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ def styled_select(*args, **kwargs):
def styled_text(project, question):
project.user_inputs_count += 1
user_input = get_user_input_from_hash_id(project, question)
if user_input is not None and project.skip_steps:
if user_input is not None and user_input.user_input is not None and project.skip_steps:
# if we do, use it
project.checkpoints['last_user_input'] = user_input
print(colored(f'Restoring user input id {user_input.id}: ', 'yellow'), end='')