From 2f3691d4a9e9fc16ff5e09aa9e4ae282835c78cf Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Thu, 25 Apr 2019 13:15:21 +0200 Subject: [PATCH] write warnings and errors in stderr --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 45606004..01aa6e6e 100644 --- a/utils.py +++ b/utils.py @@ -62,7 +62,7 @@ def warning(message: str): :type message: str """ - log(" {}⚠{} {}".format(YELLOW, DEF, message)) + log(" {}⚠{} {}".format(YELLOW, DEF, message), True) def error(message: str): @@ -72,7 +72,7 @@ def error(message: str): :type message: str """ - log(" {}✖{} {}".format(RED, DEF, message)) + log(" {}✖{} {}".format(RED, DEF, message), True) def get_dir(file_path: str) -> str: -- GitLab