Fix comment about getting the right encoding for stdout.
This commit is contained in:
parent
a7306150a2
commit
37a4d19a92
@ -65,8 +65,8 @@ _ = glocale.translation.gettext
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# They're the same using python3 on Win or Linux, but sys.stdout.encoding
|
# On Darwin sys.getdefaultencoding() is correct, on Win32 it's
|
||||||
# gives the wrong answer on Darwin.
|
# sys.stdout.enoding, and on Linux they're both right.
|
||||||
if mac():
|
if mac():
|
||||||
_encoding = sys.getdefaultencoding()
|
_encoding = sys.getdefaultencoding()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user