From 877b1d87ae2318bb76091a54215514dff94879de Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 29 Apr 2024 10:08:33 +0200 Subject: [PATCH] Drop bracket --- src/controller/python/chip/ChipDeviceCtrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/python/chip/ChipDeviceCtrl.py b/src/controller/python/chip/ChipDeviceCtrl.py index 9cbd7a32d20715..dc8db81f0c6ab7 100644 --- a/src/controller/python/chip/ChipDeviceCtrl.py +++ b/src/controller/python/chip/ChipDeviceCtrl.py @@ -878,7 +878,7 @@ def deviceAvailable(self, device, err): # The callback might have been received synchronously (during self._ChipStack.Call()). # In that case the Future has already been set it will return immediately - if (timeoutMs): + if timeoutMs: timeout = float(timeoutMs) / 1000 await asyncio.wait_for(future, timeout=timeout) else: