diff --git a/src/nebulagraph_lite/nebulagraph.py b/src/nebulagraph_lite/nebulagraph.py index b84735c..c833cca 100644 --- a/src/nebulagraph_lite/nebulagraph.py +++ b/src/nebulagraph_lite/nebulagraph.py @@ -293,7 +293,10 @@ def _run_udocker(self, command: str, env: str = None): f"udocker command failed with return code {result.returncode}" ) if output and self._debug: - fancy_print(f"Info: [DEBUG] udocker command output:\n{output.decode()}") + fancy_print( + f"Info: [DEBUG] udocker command output:\n{output.decode()}", + color="blue", + ) return result def _run_udocker_ps_filter(self, filter: str): diff --git a/src/nebulagraph_lite/utils.py b/src/nebulagraph_lite/utils.py index dd34ded..6de1848 100644 --- a/src/nebulagraph_lite/utils.py +++ b/src/nebulagraph_lite/utils.py @@ -9,7 +9,7 @@ # Thanks to https://www.learnui.design/tools/data-color-picker.html COLORS_hex = { # "dark_blue": "#003f5c", - # "blue": "#2f4b7c", + "blue": "#2f4b7c", "purple": "#665191", "magenta": "#a05195", "pink": "#d45087", @@ -20,7 +20,7 @@ COLORS_rgb = { # "dark_blue": "38;2;0;63;92", - # "blue": "38;2;47;75;124", + "blue": "38;2;47;75;124", "purple": "38;2;102;81;145", "magenta": "38;2;160;81;149", "pink": "38;2;212;80;135", @@ -75,7 +75,7 @@ def wrapper(*args, **kwargs): return decorator -def fancy_print(text: str, color: str = "Blue") -> None: +def fancy_print(text: str, color: str = "random") -> None: """ Print a string in color from COLORS_rgb. """