Skip to content

Commit

Permalink
lestarch: no more .val usage in BoolType implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed May 9, 2022
1 parent ff3a181 commit 9b8d0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fprime/common/models/serialize/bool_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def deserialize(self, data, offset):
int_val = struct.unpack_from("B", data, offset)[0]
if int_val not in [self.TRUE, self.FALSE]:
raise TypeRangeException(int_val)
self.val = int_val == self.TRUE
self._val = int_val == self.TRUE
except struct.error:
raise DeserializeException("Not enough bytes to deserialize bool.")

Expand Down

0 comments on commit 9b8d0d3

Please sign in to comment.