Skip to content

Commit

Permalink
CodeFactor multi-space correction
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Dec 16, 2023
1 parent bd7a87b commit 78e78ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/pairingProcess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 78e78ad

Please sign in to comment.