Skip to content

Commit

Permalink
Fix error when not using socket
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Feb 12, 2024
1 parent 809284e commit d2adcaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion chrisomatic/cli/agenda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit d2adcaa

Please sign in to comment.