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():
|
def version_sidebar():
|
||||||
with st.sidebar:
|
with st.sidebar:
|
||||||
try:
|
try:
|
||||||
current_version = get_installed_version(
|
current_version = get_installed_version("open-notebook")
|
||||||
"open-notebook"
|
|
||||||
) # Note the hyphen instead of underscore
|
|
||||||
except Exception:
|
except Exception:
|
||||||
# Fallback to reading directly from pyproject.toml
|
# Fallback to reading directly from pyproject.toml
|
||||||
import tomli
|
import tomli
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue