Skip to content

Commit 66433e0

Browse files
committed
Fixed typo: for control in controls should be for control in self.controls
1 parent 34232de commit 66433e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osdp/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def __init__(self, controls):
256256

257257
def build_data(self) -> bytes:
258258
data = bytearray()
259-
for control in controls:
259+
for control in self.controls:
260260
data.extend(control.build_data())
261261
return bytes(data)
262262

0 commit comments

Comments
 (0)