From 025451ca04b32bbd89530b12e29f2975a0619163 Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Thu, 30 Mar 2023 08:56:51 -0400 Subject: [PATCH] fix(logging): fix highlighting --- cme/logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cme/logger.py b/cme/logger.py index 90b44161..5304f539 100755 --- a/cme/logger.py +++ b/cme/logger.py @@ -164,9 +164,9 @@ class CMEAdapter(logging.LoggerAdapter): except AttributeError: pass - msg, kwargs = self.process(u'{}'.format(colored(msg, 'yellow', attrs=['bold'])), kwargs) + msg, kwargs = self.format(u'{}'.format(colored(msg, 'yellow', attrs=['bold'])), kwargs) text = Text.from_ansi(msg) - self.display(text, *args, **kwargs) + cme_console.print(text, *args, **kwargs) # For Impacket's TDS library def logMessage(self, message):