Commit 72ac4d31 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix print of errors color

parent 98a85464
...@@ -51,7 +51,7 @@ def robust_rmtree(path, logger=None, max_retries=6): ...@@ -51,7 +51,7 @@ def robust_rmtree(path, logger=None, max_retries=6):
shutil.rmtree(path) shutil.rmtree(path)
def display_error_message(msg): def display_error_message(msg):
sys.stderr.write("\033[91mError: "+msg+"\n\033[0m") sys.stderr.write("\033[91mError: "+msg+"\033[0m\n")
sys.exit(1) sys.exit(1)
def display_info_message(msg, with_exit=False): def display_info_message(msg, with_exit=False):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment