From e5550486e2fd45d612aa1a54ed420e42a7e8fd9b Mon Sep 17 00:00:00 2001 From: Meatballs1 Date: Tue, 19 Mar 2024 13:33:50 +0000 Subject: [PATCH] Resolve code review comment --- HCDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HCDevice.py b/HCDevice.py index 6c40921..c412c9a 100755 --- a/HCDevice.py +++ b/HCDevice.py @@ -98,7 +98,7 @@ class HCDevice: if 'uid' not in data: raise Exception("{self.name}. Unable to configure appliance. UID is required.") - if isinstance(data['uid'], int) == False: + if isinstance(data['uid'], int) is False: raise Exception("{self.name}. Unable to configure appliance. UID must be an integer.") if 'value' not in data: