From 78e78ad26d99fd198727b77bdeec7f401bc99992 Mon Sep 17 00:00:00 2001 From: Patrick Pichon Date: Sat, 16 Dec 2023 10:38:31 +0100 Subject: [PATCH] CodeFactor multi-space correction --- Modules/pairingProcess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/pairingProcess.py b/Modules/pairingProcess.py index 8c82ae42f..153cbd8cd 100644 --- a/Modules/pairingProcess.py +++ b/Modules/pairingProcess.py @@ -216,7 +216,7 @@ def request_node_descriptor(self, NWKID, RIA=None, status=None): manufacturer = self.ListOfDevices[NWKID].get("Manufacturer", "") model = self.ListOfDevices[NWKID].get("Model", "") - if model in ( "lumi.sensor_switch",) or manufacturer not in ( "", {} ): + if model in ( "lumi.sensor_switch",) or manufacturer not in ( "", {} ): self.log.logging( "Pairing", "Debug", "[%s] NEW OBJECT: %s Manufacturer: %s Model: %s" % (RIA, NWKID, manufacturer, model), NWKID, ) return False