From 95fd89d7a20ddaf89e811110b07fb781fd1751c5 Mon Sep 17 00:00:00 2001 From: Hannes Hansen Date: Sun, 2 Dec 2018 13:22:40 +0100 Subject: [PATCH] fixed problem with nested endpoints --- coapthon/server/coap.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/coapthon/server/coap.py b/coapthon/server/coap.py index b3dfd6c..99d2757 100644 --- a/coapthon/server/coap.py +++ b/coapthon/server/coap.py @@ -273,8 +273,6 @@ class CoAP(object): except KeyError: res = None if res is None: - if len(paths) != i: - return False resource.path = actual_path self.root[actual_path] = resource return True