Skip to content

Commit

Permalink
fix object size mismatch for str
Browse files Browse the repository at this point in the history
  • Loading branch information
inmerso authored May 13, 2022
1 parent ddffe12 commit 4b8c7cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/data/Python/rx_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class struct(object):

arr = link.rx_obj(obj_type=str,
start_pos=recSize,
obj_byte_size=6)
obj_byte_size=5)
recSize += len(arr)

print('{}{} | {}'.format(testStruct.z, testStruct.y, arr))
Expand All @@ -47,4 +47,4 @@ class struct(object):


except KeyboardInterrupt:
link.close()
link.close()

0 comments on commit 4b8c7cd

Please sign in to comment.