Skip to content

Commit

Permalink
remove last show_pages()
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m committed Jun 19, 2024
1 parent da44fc2 commit 8949f10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/captcha_.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import random
import string
import os
from st_pages import show_pages, Page


def delete_all_pages(main_script_path_str: str) -> None:
Expand Down Expand Up @@ -195,8 +194,6 @@ def captcha_control():
"""
# control if the captcha is correct
if "controllo" not in st.session_state or st.session_state["controllo"] is False:
# remove all pages from the sidebar
show_pages([Page("app.py", "FLASHViewer", "🏠")])

st.title("Make sure you are not a robot🤖")

Expand Down

0 comments on commit 8949f10

Please sign in to comment.