I want to to pop a warning msg if the list is empty and if the list is not empty then i want to display the results in tree view in tkinter. But the else statement doesnot s