From d4262d66adc851207c2ff2ed40c87e467d58c50d Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 2 Feb 2026 02:48:54 -0300 Subject: [PATCH] atlasbot: clean hardware count formatting --- atlasbot/engine/answerer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index 19b1636..fab840a 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -559,7 +559,7 @@ class AnswerEngine: count = _find_value(target, hw_line) nodes = _find_value(target, hw_nodes_line or "") if count: - if nodes: + if nodes and "(" not in count: reply = f"From the latest snapshot: {target}={count} ({nodes})." else: reply = f"From the latest snapshot: {target}={count}."