atlasbot: clean hardware count formatting
This commit is contained in:
parent
f4b4d6afe8
commit
d4262d66ad
@ -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}."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user