From d2adcaa6b89c7ac16900d5730b18d0288f03cf4f Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Mon, 12 Feb 2024 11:01:11 -0500 Subject: [PATCH] Fix error when not using socket --- chrisomatic/cli/agenda.py | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chrisomatic/cli/agenda.py b/chrisomatic/cli/agenda.py index 491fd96..4a2dbe4 100644 --- a/chrisomatic/cli/agenda.py +++ b/chrisomatic/cli/agenda.py @@ -17,7 +17,9 @@ async def agenda(given_config: GivenConfig, console: Console) -> FinalResult: docker = _maybe_docker(console) pre_actions = PreActions(console) - closables = [docker] + closables = [] + if docker: + closables.append(docker) async def close_all(): closings = (client.close() for client in closables) diff --git a/pyproject.toml b/pyproject.toml index 1d40037..6b2eb73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "chrisomatic" -version = "0.8.0" +version = "0.8.1" description = "ChRIS backend provisioner with Powerpointlessness" authors = ["Jennings Zhang "] license = "MIT"