Skip to content

Commit 62d83fa

Browse files
committed
Update main.py
1 parent ca6565e commit 62d83fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Wordle/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def ok_clicked(self):
8080
if self.form.current_column > 5:
8181
this_word = self.get_word(self.form.current_row).lower()
8282
if this_word not in self.form.words:
83-
tkinter.messagebox.showerror(f"Not a valid word","{this_word.upper()} isn't a valid word")
83+
tkinter.messagebox.showerror("Not a valid word",this_word.upper()+" isn't a valid word")
8484
return
8585
self.colour_current_row(self.form.target_word.upper(),this_word.upper(),self.form.current_row)
8686
self.form.current_column = 1

0 commit comments

Comments
 (0)