Commit 6e9823f1 authored by Sébastien Luttringer's avatar Sébastien Luttringer

Printer.out display nothing if message is None

parent b7d9b425
......@@ -64,6 +64,8 @@ def out(message="", fd=sys.stdout, endl=os.linesep, flush=True):
Print message colorised in fd ended by endl
if message is None:
# color subsitution
color_pattern = "#(%s)#" % "|".join(COLOR)
if not fd.isatty() or NOCOLOR:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment