From e6c6b530c84c075a3339d6197dc4dc467ac50746 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Sun, 24 Apr 2022 23:07:25 +0200 Subject: [PATCH] API updates --- fabapi/connect.py | 2 +- schema | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fabapi/connect.py b/fabapi/connect.py index c77d903..3e20351 100644 --- a/fabapi/connect.py +++ b/fabapi/connect.py @@ -44,7 +44,7 @@ async def connect(host, port, user, pw): asyncio.gather(*coroutines, return_exceptions=True) boot = client.bootstrap().cast_as(connection_capnp.Bootstrap) - auth = await boot.createSession("PLAIN").a_wait() + auth = boot.createSession("PLAIN") p = "\0" + user + "\0" + pw response = await auth.authentication.step(p).a_wait() if response.which() == 'successful': diff --git a/schema b/schema index c9283eb..aea03aa 160000 --- a/schema +++ b/schema @@ -1 +1 @@ -Subproject commit c9283ebd696ed6dd428a7c3d24820889f7ab4bf3 +Subproject commit aea03aabe3d1322892c1896ba757ceeedb92ed73