From 4591bfb3fd0b32bd7bf179a410b6ed86a20b36de Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Mon, 12 Feb 2024 12:11:59 +0100 Subject: [PATCH] 0.0.20 --- dosei_sdk/main.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dosei_sdk/main.py b/dosei_sdk/main.py index fc390eb..1fe8b8e 100644 --- a/dosei_sdk/main.py +++ b/dosei_sdk/main.py @@ -17,7 +17,7 @@ def run(func=None): app: Dosei = import_from_string(dosei_init) except ImportFromStringError: raise ImportFromStringError(f"Couldn't find a dosei.py file in \"{os.getcwd()}\"") - if app.command is None: + if app.run is None: raise ImportFromStringError('Command "run" not found.') os.system(app.run) diff --git a/pyproject.toml b/pyproject.toml index 308cac4..1cda215 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dosei-sdk" -version = "0.0.19" +version = "0.0.20" description = "Dosei Python SDK" authors = ["Alvaro Molina "] license = "Apache-2.0"