From 2959762a449d4cf60af22524f3733a3b945fbaa9 Mon Sep 17 00:00:00 2001 From: Shruti Marota <70153150+smarota17@users.noreply.github.com> Date: Thu, 1 Dec 2022 16:51:52 -0500 Subject: [PATCH] Update main.py --- src/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 1189ae8..b223f57 100644 --- a/src/main.py +++ b/src/main.py @@ -155,8 +155,6 @@ def account_page(): acc = Account(ID = int(acc.ID)) st.session_state.account = acc st.session_state.runpage = 'profile' - else: - st.error("Please ensure you have added items to your wishlist and friends to your friendlist before attempting to send email notifications.") st.experimental_rerun() else: email_sent = False @@ -659,4 +657,4 @@ def deletefriend_page(): elif st.session_state.runpage == 'addfriend': addfriend_page() elif st.session_state.runpage == 'deletefriend': - deletefriend_page() \ No newline at end of file + deletefriend_page()