This commit is contained in:
LUIS NOVO 2024-11-01 21:33:07 -03:00
parent 15048b0839
commit c15982af3f

View file

@ -13,9 +13,7 @@ from open_notebook.utils import (
def version_sidebar():
with st.sidebar:
try:
current_version = get_installed_version(
"open-notebook"
) # Note the hyphen instead of underscore
current_version = get_installed_version("open-notebook")
except Exception:
# Fallback to reading directly from pyproject.toml
import tomli