Skip to content
Snippets Groups Projects
Commit 4b70237d authored by Dónal Murray's avatar Dónal Murray
Browse files

Generate byte array automatically post init

parent 901a3610
Branches
No related merge requests found
......@@ -36,6 +36,7 @@ class BaseFormat():
timestamp: int = 0
def __post_init__(self):
self.toByteArray()
self._autogen = True
def __setattr__(self, key, value):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment