Merge pull request #12 from hahahannes/nested_endpoints
fixed problem with nested endpoints
This commit is contained in:
commit
985763bfe2
1 changed files with 0 additions and 2 deletions
|
@ -273,8 +273,6 @@ class CoAP(object):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
res = None
|
res = None
|
||||||
if res is None:
|
if res is None:
|
||||||
if len(paths) != i:
|
|
||||||
return False
|
|
||||||
resource.path = actual_path
|
resource.path = actual_path
|
||||||
self.root[actual_path] = resource
|
self.root[actual_path] = resource
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue