From ac402b81516ec9375b4cb57896efbcdbf12cf885 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 9 Dec 2016 12:00:19 +0000 Subject: [PATCH] Corrected typo in detected machine type on Windows. --- gprMax/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gprMax/utilities.py b/gprMax/utilities.py index d11ae377..b33ea466 100644 --- a/gprMax/utilities.py +++ b/gprMax/utilities.py @@ -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)'