From 9dbb5d1d0fdc8722cfa4ff12b980bd1a08e4ecd4 Mon Sep 17 00:00:00 2001 From: Kevin0626 <1138849013.qq.com> Date: Mon, 1 Jul 2019 20:27:51 +0800 Subject: [PATCH] fix a typo in blocklayer --- coapthon/layers/blocklayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coapthon/layers/blocklayer.py b/coapthon/layers/blocklayer.py index 782f77d..8f698a3 100644 --- a/coapthon/layers/blocklayer.py +++ b/coapthon/layers/blocklayer.py @@ -143,7 +143,7 @@ def receive_response(self, transaction): if len(item.payload) <= item.byte: item.m = 0 else: - itme.m = 1 + item.m = 1 request.block1 = (item.num, item.m, item.size) elif transaction.response.block2 is not None: