From 7e6235008962c90526def97154aa4a85e33d1d40 Mon Sep 17 00:00:00 2001 From: itincknell Date: Mon, 4 Dec 2023 12:38:56 -0500 Subject: [PATCH] Fixed mistake in print statements in parser_shell.py --- src/parser_shell.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/parser_shell.py b/src/parser_shell.py index 783e9c2..40a251f 100644 --- a/src/parser_shell.py +++ b/src/parser_shell.py @@ -115,14 +115,14 @@ def word_options(new_word,current_dict,backup,existing_word,t): if existing_word: # display different message if word already exists in current dictionary - options = {'0':f"\n===================================================\n\ - {heading} already exists in '{current_dict['file']}'\n", + options = {'0':f"\n===================================================\n"\ + + f"{heading} already exists in '{current_dict['file']}'\n", '1':f"Do you want to save, edit or discard '{heading}'?\n"} else: # standard message for new words options = { - '1':f"\n===================================================\n\ - Do you want to save, edit or discard '{heading}'?\n"} + '1':f"\n===================================================\n"\ + + f"Do you want to save, edit or discard '{heading}'?\n"} options.update({'2':">>>(1=save, 2=edit, 0=discard)"}) # option to create a morphology flashcard template file