Skip to content

Commit

Permalink
towards pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Feb 25, 2024
1 parent eb11d36 commit cd91270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloudmesh/common/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ def cprint(message, color="BLUE", prefix=""):
if isinstance(message, Text):
RichConsole.print(prefix, message, sep="")
else:
if color in theme_color:
color = theme_color[color]
if color in Console.theme_color:
color = Console.theme_color[color]
RichConsole.print(prefix + message, style=color)

@staticmethod
Expand Down

0 comments on commit cd91270

Please sign in to comment.