Skip to content

Commit

Permalink
style(scripts.utils): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dfguerrerom committed Oct 5, 2023
1 parent b4cacb2 commit 1aefe86
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sepal_ui/scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,10 @@ def get_app_version(repo_folder: Pathlike = Path.cwd()) -> str:
# check if the file exist
if pyproject_path.exists():
# read the file using toml
pyproject = toml.loads(pyproject_path.read_text())
pyproject = toml.loads(pyproject_path.read_text())

# get the version
version = pyproject.get("project", {}).get("version", None)
return version
return pyproject.get("project", {}).get("version", None)

return None

Expand Down

0 comments on commit 1aefe86

Please sign in to comment.