diff --git a/spcd/shell.py b/spcd/shell.py index f0c7f8c..0a587e7 100644 --- a/spcd/shell.py +++ b/spcd/shell.py @@ -5,6 +5,6 @@ import importlib env = importlib.import_module("env") try: - step = int(env.SPCD_STEP) + STEP = int(env.SPCD_STEP) except AttributeError: - step = 1 + STEP = 1 diff --git a/spcd/util.py b/spcd/util.py index 76cb0f0..13b162d 100644 --- a/spcd/util.py +++ b/spcd/util.py @@ -57,7 +57,7 @@ def split() -> None: def step(text: str) -> None: """Increment the step number of the current build process.""" - shell.step += 1 + shell.STEP += 1 log.info(env.SPCD_DOWN) - log.info(f"{env.SPCD_VERT} {shell.step} {text}") + log.info(f"{env.SPCD_VERT} {shell.STEP} {text}") log.info(env.SPCD___UP)