From 1dc4a153fe56ad30a148c23463aebd76d3e5bc25 Mon Sep 17 00:00:00 2001 From: julienmalard Date: Sun, 8 Dec 2024 14:27:14 +0530 Subject: [PATCH] =?UTF-8?q?Utiliser=20port=20sp=C3=A9cifi=C3=A9=20pour=20l?= =?UTF-8?q?e=20client=20synchrone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- constellationPy/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constellationPy/sync.py b/constellationPy/sync.py index 8b7a3cc..4ea61c7 100644 --- a/constellationPy/sync.py +++ b/constellationPy/sync.py @@ -19,7 +19,7 @@ def __call__(soimême, **argsmc): argsmc = {c: v for c, v in argsmc.items()} # Ne pas convertir à chameau ici ; le client asynchrone s'en occupe async def f_async(): - async with ouvrir_client() as client: + async with ouvrir_client(soimême.port) as client: f_client = client for x in soimême._liste_attributs: f_client = getattr(f_client, x)