From 1aefe86a37f3955fa282fee15a81f617ece09621 Mon Sep 17 00:00:00 2001 From: dfguerrerom Date: Thu, 5 Oct 2023 11:45:46 +0200 Subject: [PATCH] style(scripts.utils): typo --- sepal_ui/scripts/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sepal_ui/scripts/utils.py b/sepal_ui/scripts/utils.py index adfb4e52..9409d762 100644 --- a/sepal_ui/scripts/utils.py +++ b/sepal_ui/scripts/utils.py @@ -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