Corrected typo in detected machine type on Windows.

这个提交包含在:
Craig Warren
2016-12-09 12:00:19 +00:00
父节点 77231d4a81
当前提交 ac402b8151

查看文件

@@ -140,7 +140,7 @@ def get_machine_cpu_os():
machineID = manufacturer + ' ' + model
cpuID = subprocess.check_output("wmic cpu get Name", shell=True).decode('utf-8').strip()
cpuID = cpuID.split('\n')[1]
if platform.machine().endwith('64'):
if platform.machine().endswith('64'):
osbit = '(64-bit)'
else:
osbit = '(32-bit)'