fixed problem with nested endpoints

This commit is contained in:
Hannes Hansen 2018-12-02 13:22:40 +01:00
parent 17673ebced
commit 95fd89d7a2

View file

@ -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