Make sure that the node is alway set in disco responses.
This commit is contained in:
parent
109af1b1b6
commit
332eea3b3b
@ -138,6 +138,9 @@ class DiscoNode(object):
|
|||||||
self.info = DiscoInfo()
|
self.info = DiscoInfo()
|
||||||
self.items = DiscoItems()
|
self.items = DiscoItems()
|
||||||
|
|
||||||
|
self.info['node'] = name
|
||||||
|
self.items['node'] = name
|
||||||
|
|
||||||
# This is a bit like poor man's inheritance, but
|
# This is a bit like poor man's inheritance, but
|
||||||
# to simplify adding information to the node we
|
# to simplify adding information to the node we
|
||||||
# map node functions to either the info or items
|
# map node functions to either the info or items
|
||||||
|
Loading…
x
Reference in New Issue
Block a user