From 8c3ebe2ae20119669cab648f478ff21b7073e951 Mon Sep 17 00:00:00 2001 From: KG Date: Fri, 22 Nov 2024 21:57:54 -0500 Subject: [PATCH] Correctly ignore meta bytes --- tivars/var.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tivars/var.py b/tivars/var.py index 87bb788..9410440 100644 --- a/tivars/var.py +++ b/tivars/var.py @@ -336,7 +336,7 @@ def bytes(self) -> bytes: """ return self.meta_length + self.calc_data_length + \ - self.type_id + self.name + self.version + self.archived + \ + self.type_id + self.name + self.flash_bytes + \ self.calc_data_length + self.calc_data def __init__(self, init=None, *,