update error msg
authorClaromes <claromes@hey.com>
Thu, 11 May 2023 05:02:39 +0000 (02:02 -0300)
committerClaromes <claromes@hey.com>
Thu, 11 May 2023 05:02:39 +0000 (02:02 -0300)
app.py

diff --git a/app.py b/app.py
index b5b6b7f233bd8b7f289dea0d226ee7fdb7715ff5..0ba4a73f1c82f1fb9c0550ddcaab33ec78f63830 100644 (file)
--- a/app.py
+++ b/app.py
@@ -99,10 +99,9 @@ if query:
 
             if only_deleted:
                 if tweet == None:
-                    st.error('Tweet has been deleted.')
-
                     attr(i)
 
+                    st.error('Tweet has been deleted.')
                     st.markdown('<iframe src="{}" height=700 width=550></iframe>'.format(link), unsafe_allow_html=True)
                     st.divider()
                 else: st.empty()