fixed error when zero length passward is entered into tkinter input