cleanup
This commit is contained in:
parent
15048b0839
commit
c15982af3f
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue