Commit 0c840c52 authored by Jérome Perrin's avatar Jérome Perrin

wip

parent 80997f7e
...@@ -176,6 +176,7 @@ class ColoredStreamHandler(logging.StreamHandler): ...@@ -176,6 +176,7 @@ class ColoredStreamHandler(logging.StreamHandler):
message = record.msg message = record.msg
try: try:
if not isinstance(message, basestring): if not isinstance(message, basestring):
print("OOOOOOO >>>>>>>> %s <<<<< OOOOOOO" % repr(message))
message = unicode(message) message = unicode(message)
except NameError: except NameError:
if not isinstance(message, str): if not isinstance(message, str):
......
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