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 88b4136 commit eb11d36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cloudmesh/common/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +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]
RichConsole.print(prefix + message, style=color)

@staticmethod
Expand Down

0 comments on commit eb11d36

Please sign in to comment.