Skip to content

Commit acc2932

Browse files
committed
Fix when no backend is specified
Closes:#46
1 parent 1fa5b38 commit acc2932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asyncclick/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ def __call__(
15531553
import trio
15541554

15551555
return trio.run(self._main, main, args, kwargs)
1556-
if _anyio_backend == "asyncio":
1556+
if _anyio_backend is None or _anyio_backend == "asyncio":
15571557
import asyncio
15581558

15591559
return asyncio.run(self._main(main, args, kwargs))

0 commit comments

Comments
 (0)