From 529831c05e9ad52d4d9c9e91e0ab85f945722551 Mon Sep 17 00:00:00 2001 From: Daryl Koh Yi Kai <37805932+cambrian-dk@users.noreply.github.com> Date: Thu, 2 Sep 2021 00:06:53 +0800 Subject: [PATCH] Fix typos in MultipleReadPropertyThreaded (#424) --- samples/MultipleReadPropertyThreaded.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/MultipleReadPropertyThreaded.py b/samples/MultipleReadPropertyThreaded.py index a659da23..6370e0fe 100755 --- a/samples/MultipleReadPropertyThreaded.py +++ b/samples/MultipleReadPropertyThreaded.py @@ -20,7 +20,7 @@ from bacpypes.object import get_datatype from bacpypes.apdu import ReadPropertyRequest -from bacpypes.primitivedata import Unsigned +from bacpypes.primitivedata import Unsigned, ObjectIdentifier from bacpypes.constructeddata import Array from bacpypes.app import BIPSimpleApplication @@ -64,7 +64,7 @@ def run(self): for addr, obj_id, prop_id in self.point_queue: # build a request request = ReadPropertyRequest( - objectIdentifier=ObjectIdentifer(obj_id).value, + objectIdentifier=ObjectIdentifier(obj_id).value, propertyIdentifier=prop_id, ) request.pduDestination = Address(addr)