def send(): tit = "*" + todo_title_entry.get() des = "From leader " + name + ": " + todo_description_label_entry.get( ) due = todo_time_entry.get() names = sl.get_teammate_name() res = st.save_data(name, tit, des, due) for n in names: res = st.save_data(n, tit, des, due) if (res): todo_window.destroy() else: reset()
def save(): res = st.save_data(name, todo_title_entry.get(), todo_description_label_entry.get(), todo_time_entry.get()) if (res): todo_window.destroy() else: reset()