re-use get_async_rpc()

This commit is contained in:
adbenitez
2023-10-26 23:34:32 +02:00
parent 6d2bae7b1d
commit 8329108c47

View File

@@ -91,7 +91,7 @@ class Rpc:
async def __aenter__(self):
self.__enter__()
return AsyncRpc(self)
return self.get_async_rpc()
async def __aexit__(self, _exc_type, _exc, _tb):
self.__exit__(_exc_type, _exc, _tb)