Fix bug if no nodes are present
This commit is contained in:
parent
0a93f526e0
commit
f1249452e5
|
@ -334,6 +334,8 @@ def get_list(
|
||||||
):
|
):
|
||||||
node_list = []
|
node_list = []
|
||||||
full_node_list = zkhandler.children("base.node")
|
full_node_list = zkhandler.children("base.node")
|
||||||
|
if full_node_list is None:
|
||||||
|
full_node_list = list()
|
||||||
full_node_list.sort()
|
full_node_list.sort()
|
||||||
|
|
||||||
if is_fuzzy and limit:
|
if is_fuzzy and limit:
|
||||||
|
|
Loading…
Reference in New Issue