Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smarota17 authored Dec 1, 2022
1 parent ff006d9 commit 2959762
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -659,4 +657,4 @@ def deletefriend_page():
elif st.session_state.runpage == 'addfriend':
addfriend_page()
elif st.session_state.runpage == 'deletefriend':
deletefriend_page()
deletefriend_page()

0 comments on commit 2959762

Please sign in to comment.