Skip to content

Commit 198a5de

Browse files
committed
Fix asyncio on README
1 parent fbf2f62 commit 198a5de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/readme.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Pylibjuju requires an already bootstrapped Juju controller to connect to.
5151
import logging
5252
import sys
5353
54-
from juju import asyncio
54+
from juju import jasyncio
5555
from juju.model import Model
5656
5757
@@ -89,7 +89,7 @@ Pylibjuju requires an already bootstrapped Juju controller to connect to.
8989
9090
# Run the deploy coroutine in an asyncio event loop, using a helper
9191
# that abstracts loop creation and teardown.
92-
asyncio.run(deploy())
92+
jasyncio.run(deploy())
9393
9494
9595
if __name__ == '__main__':

0 commit comments

Comments
 (0)