Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pwitab/dlms-cosem
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Wahlgren committed Jan 22, 2024
2 parents 7a9c992 + a1107ba commit fb3a669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlms_cosem/dlms_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class DataArray(BaseDlmsData):
def to_bytes(self) -> bytes:
out = bytearray()
out.append(self.TAG)
out.append(encode_variable_integer(len(self.value)))
out.extend(encode_variable_integer(len(self.value)))
for item in self.value:
out.extend(item.to_bytes())
return bytes(out)
Expand Down

0 comments on commit fb3a669

Please sign in to comment.