diff --git a/atlasbot/engine/answerer/spine.py b/atlasbot/engine/answerer/spine.py index 3f9c80c..45c6472 100644 --- a/atlasbot/engine/answerer/spine.py +++ b/atlasbot/engine/answerer/spine.py @@ -72,8 +72,11 @@ def _spine_lines(lines: list[str]) -> dict[str, str]: return spine +_NODES_PREFIX = "nodes:" + + def _spine_nodes(lines: list[str], spine: dict[str, str]) -> None: - nodes_line = _line_starting_with(lines, "nodes:") + nodes_line = _line_starting_with(lines, _NODES_PREFIX) if nodes_line: spine["nodes_count"] = nodes_line spine["nodes_ready"] = nodes_line