diff --git a/Python/GUI/PySimpleGUI-First-Attempt b/Python/GUI/PySimpleGUI-First-Attempt index a6ab32e..d6bac40 100644 --- a/Python/GUI/PySimpleGUI-First-Attempt +++ b/Python/GUI/PySimpleGUI-First-Attempt @@ -41,7 +41,7 @@ while True: with open("info.csv", 'r') as r: FileReader = csv.reader(r) for i in FileReader: - if i[1] == SearchKeyWord: + if SearchKeyWord in i[1]: NewInfo = f"First Name:{i[0]}\nLast Name:{i[1]}\nPhone Number:{i[2]}\nPriority Level / Importance:{i[3]}\n" #Reusing window[obj].update(value) to update the empty label -SearchOutput- window['-SearchOutput-'].update(NewInfo) \ No newline at end of file