From f1249452e5561cd51a685323edc2b86119a658e6 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 14 Dec 2023 15:32:18 -0500 Subject: [PATCH] Fix bug if no nodes are present --- daemon-common/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon-common/node.py b/daemon-common/node.py index 107137cc..0e30479f 100644 --- a/daemon-common/node.py +++ b/daemon-common/node.py @@ -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: