From f180eeb495db61abaf9cbf6fcca6a785248ffdc6 Mon Sep 17 00:00:00 2001 From: insolor <2442833+insolor@users.noreply.github.com> Date: Sat, 20 Jul 2024 18:37:11 +0300 Subject: [PATCH] Check if files available --- package_build/file_list.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package_build/file_list.py b/package_build/file_list.py index 64189ae..ef9b617 100644 --- a/package_build/file_list.py +++ b/package_build/file_list.py @@ -9,6 +9,9 @@ def show_file_list(root_dir: Path) -> None: st.subheader("Package files awailable to download") + if not list(root_dir.glob("*.zip")): + st.write("No package files available.") + column1, column2, column3 = st.columns([3, 2, 1], vertical_alignment="center") column1.write("Package name") column2.write("When created")