i am using colorful as part of a custom library which also runs in a web application. We use mod_wsgi to serve the application and it seems that mod_wsgi replaces sys.stdout with a custom "Log"-object which doesn' t provide the "encoding" attribute.
I think this scenario happens quite frequently and i think that this should be handled cracefully in colorful.
Hi,
i am using colorful as part of a custom library which also runs in a web application. We use mod_wsgi to serve the application and it seems that mod_wsgi replaces sys.stdout with a custom "Log"-object which doesn' t provide the "encoding" attribute.
I think this scenario happens quite frequently and i think that this should be handled cracefully in colorful.