Dirty fix for #3766

This commit is contained in:
Miroslav Stampar
2019-06-18 23:16:53 +02:00
parent 9d055c723b
commit e565fa1fad
3 changed files with 3 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ if IS_WIN:
ctypes.windll.kernel32.SetConsoleTextAttribute.restype = ctypes.wintypes.BOOL
def stdoutEncode(data): # Cross-referenced function
raise NotImplementedError
return data
class ColorizingStreamHandler(logging.StreamHandler):
# color names to indices