diff options
-rw-r--r-- | release/scripts/modules/sys_info.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index 656e2b3bd54..fc3ffe4dd88 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -70,9 +70,13 @@ def write_sysinfo(filepath): output.write("build linkflags: %s\n" % prepr(bpy.app.build_linkflags)) output.write("build system: %s\n" % prepr(bpy.app.build_system)) - # python info + # Python info. output.write(title("Python")) - output.write("version: %s\n" % (sys.version)) + output.write("version: %s\n" % (sys.version.replace("\n", " "))) + output.write("file system encoding: %s:%s\n" % ( + sys.getfilesystemencoding(), + sys.getfilesystemencodeerrors(), + )) output.write("paths:\n") for p in sys.path: output.write("\t%r\n" % p) |