Fix bug if no nodes are present

This commit is contained in:
Joshua Boniface 2023-12-14 15:32:18 -05:00
parent 0a93f526e0
commit f1249452e5
1 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,8 @@ def get_list(
):
node_list = []
full_node_list = zkhandler.children("base.node")
if full_node_list is None:
full_node_list = list()
full_node_list.sort()
if is_fuzzy and limit: