From 7b26e0c330549295eabee02b94e13c7807a4987a Mon Sep 17 00:00:00 2001 From: rchac Date: Sat, 6 Dec 2025 20:15:41 +0000 Subject: [PATCH] changes --- src/LibreQoS.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LibreQoS.py b/src/LibreQoS.py index fcf29088..b5eb5c16 100755 --- a/src/LibreQoS.py +++ b/src/LibreQoS.py @@ -787,8 +787,9 @@ def refreshShapers(): for circuit in subscriberCircuits: if circuit.get('ParentNode') == 'none' and 'idForCircuitsWithoutParentNodes' in circuit: item_id = circuit['idForCircuitsWithoutParentNodes'] - if item_id in assignments: - circuit['ParentNode'] = assignments[item_id] + item_key = str(item_id) + if item_key in assignments: + circuit['ParentNode'] = assignments[item_key] # Update and save state if bin_planner is not None and isinstance(state, dict): -- knotmirror 0.0.1