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"