diff --git a/src/sporestack/__init__.py b/src/sporestack/__init__.py index 2ed6049..08ca06c 100644 --- a/src/sporestack/__init__.py +++ b/src/sporestack/__init__.py @@ -2,4 +2,4 @@ __all__ = ["api", "api_client", "client", "exceptions"] -__version__ = "10.7.1" +__version__ = "10.7.2" diff --git a/src/sporestack/cli.py b/src/sporestack/cli.py index 9b25e5e..f2ddb2e 100644 --- a/src/sporestack/cli.py +++ b/src/sporestack/cli.py @@ -425,8 +425,11 @@ def server_list( str(info.autorenew), ) - if info.suspended_at != 0: - typer.echo(f"Warning: {info.machine_id} is suspended!", err=True) + if info.suspended_at is not None: + typer.echo( + f"Warning: {info.machine_id} was suspended at {info.suspended_at}!", + err=True, + ) printed_machine_ids.append(info.machine_id)