From 9be6559133ba7ba07f23fdaa3ffccf37b3fc8f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Freise?= Date: Mon, 18 Jan 2021 09:29:06 +0100 Subject: [PATCH] Add property decorator for size1 --- coapthon/messages/message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/coapthon/messages/message.py b/coapthon/messages/message.py index 98e4a76..7feab2e 100644 --- a/coapthon/messages/message.py +++ b/coapthon/messages/message.py @@ -646,6 +646,7 @@ class Message(object): """ self.del_option_by_number(defines.OptionRegistry.BLOCK2.number) + @property def size1(self): value = None for option in self.options: