From 69f50138efa4cb6a2bacc6fab22cb2222f065d5c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 28 Dec 2020 17:55:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20conversation.run=20method?= =?UTF-8?q?=20not=20ending=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/engineer/dispenser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/engineer/dispenser.py b/royalnet/engineer/dispenser.py index e6d70be2..013dd103 100644 --- a/royalnet/engineer/dispenser.py +++ b/royalnet/engineer/dispenser.py @@ -52,8 +52,8 @@ class Dispenser: with self.sentry() as sentry: state = conv(_sentry=sentry) - while True: - state = await state + while state := await state: + pass __all__ = (