Skip to content

Commit c13ff63

Browse files
committed
[#23892] Solved error in 'process_msg()'
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
1 parent 1f491af commit c13ff63

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vulcanai/console/logger.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ def process_msg(self, msg: str, prefix: str = "", color: str = "") -> str:
111111
"""Process the message by adding prefix, applying color formatting and rich markup if enabled."""
112112
color_begin = color_end = color
113113
if color != "":
114-
# TODO Carlos: this seems odd, if color is in theme, set it to console color?
115114
if color in self.vulcanai_theme:
116-
color = self.vulcanai_theme["console"]
115+
color = self.vulcanai_theme[color]
117116
color_begin = f"<{color}>"
118117
color_end = f"</{color}>"
119118

0 commit comments

Comments
 (0)