Add property decorator for size1
This commit is contained in:
parent
209d4683c9
commit
9be6559133
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue