From adb6fa3b5a795cee58e1b552de94713b67a90868 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 26 Sep 2025 15:36:49 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.py b/modules/system.py index 885165e..3eab877 100644 --- a/modules/system.py +++ b/modules/system.py @@ -900,12 +900,12 @@ def getNodeFirmware(nodeID=0, nodeInt=1): def compileFavoriteList(): # build a list of favorite nodes to add to the device fav_list = [] - if (bbs_admin_list != [0] or favoriteNodeList != ['']): + if (bbs_admin_list != [0] or favoriteNodeList != ['']) or bbs_link_whitelist != [0]: logger.debug(f"System: Collecting Favorite Nodes to add to device(s)") # loop through each interface and add the favorite nodes for i in range(1, 10): if globals().get(f'interface{i}') and globals().get(f'interface{i}_enabled'): - for fav in bbs_admin_list + favoriteNodeList: + for fav in bbs_admin_list + favoriteNodeList + bbs_link_whitelist: if fav != 0 and fav != globals().get(f'myNodeNum{i}') and fav != '' and fav is not None: # check not already in the node's favorite list local if fav not in fav_list: