• Pau Gargallo's avatar
    Decode message only if encoding is known · 05e24715
    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
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
python_examples Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
MANIFEST.in Loading commit data...
README.txt Loading commit data...
setup.py Loading commit data...