Skip to content

Commit

Permalink
Fixed mistake in print statements in parser_shell.py
Browse files Browse the repository at this point in the history
  • Loading branch information
itincknell committed Dec 4, 2023
1 parent 9a5edeb commit 7e62350
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/parser_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e62350

Please sign in to comment.