-
Pau Gargallo authored
When python does not know the encoding of stdout, sys.stdout.encoding is None. Then calling decode(None) raises an exception. We just skip decoding when the encoding is unknown.
05e24715
When python does not know the encoding of stdout, sys.stdout.encoding is None. Then calling decode(None) raises an exception. We just skip decoding when the encoding is unknown.