diff --git a/pyproject.toml b/pyproject.toml index 8c5c1a3..073f7e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "tracksuite" -version = "0.3.2" +version = "0.3.3" description = "ecflow suite tracking and deploying toolkit" authors = [ { name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" }, diff --git a/tracksuite/init.py b/tracksuite/init.py index 06b548f..b55b1b0 100644 --- a/tracksuite/init.py +++ b/tracksuite/init.py @@ -53,7 +53,6 @@ def __init__(self, host, user, ssh_options=None): def is_path(self, path): # Build the ssh command cmd = [f"[ -d {path} ] && exit 0 || exit 1"] - ret = self.exec(cmd) try: ret = self.exec(cmd) return ret.returncode == 0