diff options
-rw-r--r-- | libbe/util/encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/util/encoding.py b/libbe/util/encoding.py index c759529..3cc425d 100644 --- a/libbe/util/encoding.py +++ b/libbe/util/encoding.py @@ -49,7 +49,7 @@ def get_input_encoding(): return get_encoding() def get_output_encoding(): - return sys.__stdout__.encoding + return sys.__stdout__.encoding or get_encoding() def get_filesystem_encoding(): return get_encoding() |