Add property decorator for size1

This commit is contained in:
Björn Freise 2021-01-18 09:29:06 +01:00
parent 209d4683c9
commit 9be6559133

View file

@ -646,6 +646,7 @@ class Message(object):
""" """
self.del_option_by_number(defines.OptionRegistry.BLOCK2.number) self.del_option_by_number(defines.OptionRegistry.BLOCK2.number)
@property
def size1(self): def size1(self):
value = None value = None
for option in self.options: for option in self.options: