Tidy formatting of Windows bit printing.

这个提交包含在:
craig-warren
2017-02-10 10:03:09 +01:00
父节点 edbbfc9c58
当前提交 2c26ebdc18

查看文件

@@ -140,9 +140,9 @@ def get_host_info():
cpuID = subprocess.check_output("wmic cpu get Name", shell=True).decode('utf-8').strip()
cpuID = cpuID.split('\n')[1]
if platform.machine().endswith('64'):
osbit = '(64-bit)'
osbit = ' (64-bit)'
else:
osbit = '(32-bit)'
osbit = ' (32-bit)'
osversion = 'Windows ' + platform.release() + osbit
# Mac OS X/macOS